Merge pull request 'feature(compose): injecter .env dans container server' (#209) from vlbeaudoin/feature/compose-env-file into main

Reviewed-on: #209
This commit is contained in:
Victor Lacasse-Beaudoin 2024-09-03 09:08:21 -04:00
commit cb2aedc7ff

View file

@ -14,6 +14,7 @@ services:
restart: 'unless-stopped' restart: 'unless-stopped'
build: . build: .
image: 'git.agecem.com/agecem/agecem-org:latest' image: 'git.agecem.com/agecem/agecem-org:latest'
env_file: '.env'
environment: environment:
AGECEM_ORG_SERVER_DOCUMENTS_ACCESS_KEY_ID: "${MINIO_ROOT_USER:-agecemorg}" AGECEM_ORG_SERVER_DOCUMENTS_ACCESS_KEY_ID: "${MINIO_ROOT_USER:-agecemorg}"
AGECEM_ORG_SERVER_DOCUMENTS_SECRET_ACCESS_KEY: "${MINIO_ROOT_PASSWORD:?MINIO_ROOT_PASSWORD requis dans .env}" AGECEM_ORG_SERVER_DOCUMENTS_SECRET_ACCESS_KEY: "${MINIO_ROOT_PASSWORD:?MINIO_ROOT_PASSWORD requis dans .env}"