standardize env vars
This commit is contained in:
parent
ba90cb927f
commit
d64898107d
11 changed files with 57 additions and 48 deletions
|
@ -23,8 +23,8 @@ services:
|
|||
- mongo-data:/data/db
|
||||
- mongo-config:/data/configdb
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: ${KOMODO_DB_USERNAME}
|
||||
MONGO_INITDB_ROOT_PASSWORD: ${KOMODO_DB_PASSWORD}
|
||||
- MONGO_INITDB_ROOT_USERNAME=${KOMODO_DB_USERNAME}
|
||||
- MONGO_INITDB_ROOT_PASSWORD=${KOMODO_DB_PASSWORD}
|
||||
|
||||
core:
|
||||
container_name: komodo-core
|
||||
|
@ -40,9 +40,9 @@ services:
|
|||
- 9120:9120
|
||||
env_file: .env
|
||||
environment:
|
||||
KOMODO_DATABASE_ADDRESS: mongo:27017
|
||||
KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME}
|
||||
KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD}
|
||||
- KOMODO_DATABASE_ADDRESS=mongo:27017
|
||||
- KOMODO_DATABASE_USERNAME=${KOMODO_DB_USERNAME}
|
||||
- KOMODO_DATABASE_PASSWORD=${KOMODO_DB_PASSWORD}
|
||||
volumes:
|
||||
## Core cache for repos for latest commit hash / contents
|
||||
- repo-cache:/repo-cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue