turned base to nginx deployment

This commit is contained in:
2022-09-25 17:04:58 +02:00
parent 5ed1af1f7f
commit 0158f56beb
3 changed files with 21 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
---
services:
app:
nginx:
image: nginx:${NGINX_VERSION}
restart: unless-stopped
labels:
### Section Træfik
@@ -22,11 +23,14 @@ services:
# specify a service so a custom port can be used
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
### Section Diun
- diun.enable=${DIUN_ENABLE}
- diun.watch_repo=${DIUN_WATCHREPO}
- diun.sort_tags=${DIUN_SORTALGO}
- diun.include_tags=${DIUN_INCLUDE}
- diun.exclude_tags=${DIUN_EXCLUDE}
- diun.enable=${DIUN_NGINX_ENABLE}
- diun.watch_repo=${DIUN_NGINX_WATCHREPO}
- diun.sort_tags=${DIUN_NGINX_SORTALGO}
- diun.include_tags=${DIUN_NGINX_INCLUDE}
- diun.exclude_tags=${DIUN_NGINX_EXCLUDE}
volumes:
- ${NGINX_CONFIG}:/etc/nginx/nginx.conf
- ${NGINX_SITECONFIG}:/etc/nginx/conf.d/default.conf
networks:
- traefik