feat(dc): add docker-compose
This commit is contained in:
parent
b40cb1fb5a
commit
8e303d691e
2 changed files with 17 additions and 1 deletions
|
@ -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
16
docker-compose.yml
Normal 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue