Added default env file test.
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
1801f83bb8
commit
d55fc85fea
3 changed files with 23 additions and 0 deletions
4
tests/fixtures/default-env-file/.env
vendored
Normal file
4
tests/fixtures/default-env-file/.env
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
IMAGE=alpine:latest
|
||||
COMMAND=true
|
||||
PORT1=5643
|
||||
PORT2=9999
|
||||
6
tests/fixtures/default-env-file/docker-compose.yml
vendored
Normal file
6
tests/fixtures/default-env-file/docker-compose.yml
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
web:
|
||||
image: ${IMAGE}
|
||||
command: ${COMMAND}
|
||||
ports:
|
||||
- $PORT1
|
||||
- $PORT2
|
||||
Loading…
Add table
Add a link
Reference in a new issue