add deploy stanza with traefik stuffs
This commit is contained in:
parent
be6163944c
commit
213ba33f93
11
compose.yml
11
compose.yml
@ -11,8 +11,15 @@ services:
|
||||
target: /etc/nginx/conf.d/default.conf
|
||||
volumes:
|
||||
- html:/usr/share/nginx/website
|
||||
ports:
|
||||
- 9090:80
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
|
||||
builder:
|
||||
image: codeberg.org/eotl/site-badger:0.1.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user