Blog
This commit is contained in:
parent
8148b3aef7
commit
96cc43ed2d
|
@ -0,0 +1,22 @@
|
||||||
|
services:
|
||||||
|
blog:
|
||||||
|
container_name: blog
|
||||||
|
image: git.bhasher.com/bhasher/blog:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.blog.rule=Host(`blog.bhasher.com`)"
|
||||||
|
- "traefik.http.routers.blog.entrypoints=internalsecure"
|
||||||
|
- "traefik.http.services.blog.loadbalancer.server.port=80"
|
||||||
|
- "traefik.http.routers.blog.tls=true"
|
||||||
|
- "traefik.http.routers.blog.tls.certresolver=http"
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
healthcheck:
|
||||||
|
test: curl --fail http://localhost || exit 1
|
||||||
|
interval: 60s
|
||||||
|
start_period: 20s
|
||||||
|
start_interval: 5s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
networks:
|
||||||
|
- external
|
Loading…
Reference in New Issue