autoconfig web

This commit is contained in:
Fanch 2024-07-08 20:51:54 +02:00
parent 6d5a4e8f0e
commit b15ce5450c
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,4 @@
services:
autoconfig:
labels:
- "traefik.http.routers.norig.rule=Host(`autoconfig.kaz.bzh`)"

10
dockers/web/build.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
KAZ_ROOT=$(cd $(dirname $0)/../..; pwd)
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
setKazVars
cd $(dirname $0)
. "${DOCKERS_ENV}"
cp autoconfig.yml.dist autoconfig.yml

View File

@ -6,6 +6,9 @@ services:
restart: ${restartPolicy}
# ports:
# - 8080:80
extends:
file: autoconfig.yml
service: autoconfig
networks:
- webNet
volumes: