feat(auth): Use bind mount for providers.toml config file

Changed the way the `auth` service source its providers file to use a
bindmount and use a default path if no `PROVIDER_FILE` env is set
This commit is contained in:
Maieul BOYER 2025-12-30 15:12:22 +01:00 committed by Maix0
parent 6c050e2171
commit fbbc6d8f39
8 changed files with 3 additions and 47 deletions

View file

@ -50,18 +50,17 @@ services:
context: ./src/
args:
- SERVICE=auth
- EXTRA_FILES=auth/extra
container_name: app-auth
container_name: app-auth
restart: always
networks:
- app
volumes:
- sqlite-volume:/volumes/database
- static-volume:/volumes/static
- ./src/auth/config:/config
environment:
- JWT_SECRET=KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JA
- DATABASE_DIR=/volumes/database
- PROVIDER_FILE=/extra/providers.toml
logging:
driver: gelf
options: