EinApfelBaum / docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker

docker-compose with custom custom.env file

sudo docker-compose --env-file custom.env up -d
sudo docker-compose --env-file custom.env down

Environment variables are not automatically populated into the container. You can populate all env variables from the file with:

env_file:
  - stack.env

More details here, scroll to the bottom. https://docs.portainer.io/v/ce-2.11/user/docker/stacks/add

About


Languages

Language:Groovy 50.4%Language:Shell 38.0%Language:Dockerfile 11.6%