feat(dc): add docker-compose
Some checks are pending
Build and publish docker image / Build Jekyll Site (push) Waiting to run
Build and publish docker image / Build Docker Image (push) Blocked by required conditions

This commit is contained in:
Radu C. Martin 2025-04-05 00:27:37 +02:00
parent b40cb1fb5a
commit 8e303d691e
2 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,3 @@
FROM nginx:latest FROM nginx:1.27.4@sha256:124b44bfc9ccd1f3cedf4b592d4d1e8bddb78b51ec2ed5056c52d3692baebc19
COPY _site /usr/share/nginx/html COPY _site /usr/share/nginx/html

16
docker-compose.yml Normal file
View file

@ -0,0 +1,16 @@
services:
blog:
image: git.martin.md/radu/blog:latest
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.blog.rule=Host(`blog.martin.md`)"
- "traefik.http.routers.blog.entrypoints=websecure"
networks:
- traefik
networks:
traefik:
external: true