sourced-ce
sourced-ce copied to clipboard
Avoid repeating hard-coded values for different containers
One of the solutions might be to use env vars. Related discussion: https://github.com/src-d/sourced-ce/pull/54#discussion_r294690184
This is old, I think this has been fixed using anchors.
Nope. The requirement was about to use named env vars to signify the constraints between the same data in different containers,
e.g. to use ${METADATA_DB_NAME-metadata} instead of the same hardcoded metadata in:
| keys | in |
|---|---|
x-superset-env.METADATA_DB |
docker-compose.yml#L22 |
ghsync.GHSYNC_POSTGRES_DB |
docker-compose.yml#L74 |
metadatadb.POSTGRES_DB |
docker-compose.yml#L139 |