Can you make the targets in the .cfg file environment variables like shown in the config file below? It seems many other containers use the format below to pass login info to a database instance and it works pretty slick. Maybe an either or thing for those that aren't using compose and would rather use a local file.
tagem:
image: notcompsky/tagem:latest
container_name: tagem
restart: always
networks:
- proxy
- tagem
volumes:
- /etc/localtime:/etc/localtime:ro
security_opt:
- no-new-privileges:true
ports:
- "$TAGEM_PORT:80"
environment:
MYSQL_HOSTNAME: tagemdb
MYSQL_PORT: $DB_PORT
MYSQL_DATABASE: db
MYSQL_USER: tagem
MYSQL_PASSWORD: $USER_PASS
depends_on:
- tagemdb
Can you make the targets in the .cfg file environment variables like shown in the config file below? It seems many other containers use the format below to pass login info to a database instance and it works pretty slick. Maybe an either or thing for those that aren't using compose and would rather use a local file.