-
-
Save efossas/52b639b59e3ed839bbd10dd15ad05b42 to your computer and use it in GitHub Desktop.
.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# environment variables that start with 'COMPOSE' or 'DOCKER' are for setting docker configuration | |
# https://docs.docker.com/compose/reference/envvars/ | |
# compose uses a project namespace for a 'stack', a collection of services orchestrated by a docker-compose.yml file | |
COMPOSE_PROJECT_NAME=crud | |
# you can set one or multiple compose files (separated by a ':') to use when running docker-compose up | |
COMPOSE_FILE=docker-compose.yml | |
# you can also add environment variables that can be be used in docker-compose.yml files | |
EXAMPLE_ENVIRONMENT_VARIABLE='some example info' | |
# in a docker-compose.yml file, you would use it like this: ${EXAMPLE_ENVIRONMENT_VARIABLE} | |
# if you want the environment variable in a container, you use the 'environment' field |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment