Skip to content

Instantly share code, notes, and snippets.

@joshcarp
Created April 29, 2021 00:44
Show Gist options
  • Save joshcarp/e9213983f4ef72199943c3620fadddfd to your computer and use it in GitHub Desktop.
Save joshcarp/e9213983f4ef72199943c3620fadddfd to your computer and use it in GitHub Desktop.
test docker-compose envi vars
version: '3.6'
services:
foobar:
image: debian
environment:
- FOO="blah"
entrypoint: bash -c "echo $$FOO"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment