Skip to content

staxmanade/example-working-docker-compose-environment-vars

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

If you docker-compose up with this, you should see the environment var from .env passed and printed out...

Example output

> docker-compose up
Starting exampleworkingdockercomposeenvironmentvars_some_server_1
Attaching to exampleworkingdockercomposeenvironmentvars_some_server_1
some_server_1  | ENV Var Passed in: Test value from .env file!
exampleworkingdockercomposeenvironmentvars_some_server_1 exited with code 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages