added DIUN configuration labels

see: https://crazymax.dev/diun
This commit is contained in:
Bryan Joshua Pedini 2022-08-25 14:57:56 +02:00
parent 797d32991c
commit 49ee613f95
2 changed files with 13 additions and 0 deletions

View File

@ -69,6 +69,12 @@ services:
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER} - traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER}
# specify a service so a custom port can be used # specify a service so a custom port can be used
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT} - 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}
networks: networks:
- internal - internal
- traefik - traefik

View File

@ -35,6 +35,13 @@ TRAEFIK_CERTRESOLVER=letsencrypt
TRAEFIK_SERVICE=netbox_example_com TRAEFIK_SERVICE=netbox_example_com
TRAEFIK_SERVICE_PORT=8080 TRAEFIK_SERVICE_PORT=8080
# DIUN
DIUN_ENABLE=true
DIUN_WATCHREPO=true
DIUN_SORTALGO=semver
DIUN_INCLUDE=v[0-9]\.[0-9]\.[0-9]-[0-9]\.[0-9]\.[0-9]
DIUN_EXCLUDE=
# PostgreSQL # PostgreSQL
PSQL_VERSION=14.5-alpine3.16 PSQL_VERSION=14.5-alpine3.16
PSQL_DATA=./data/postgres PSQL_DATA=./data/postgres