summaryrefslogtreecommitdiff
path: root/test/compose/env_and_volume/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/compose/env_and_volume/docker-compose.yml')
-rw-r--r--test/compose/env_and_volume/docker-compose.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/compose/env_and_volume/docker-compose.yml b/test/compose/env_and_volume/docker-compose.yml
new file mode 100644
index 000000000..df906e170
--- /dev/null
+++ b/test/compose/env_and_volume/docker-compose.yml
@@ -0,0 +1,18 @@
+version: '3'
+services:
+ writer:
+ environment:
+ - PODMAN_MSG=podman_rulez
+ build: write
+ ports:
+ - '5000:5000'
+ volumes:
+ - data:/data
+ reader:
+ build: read
+ ports:
+ - '5001:5000'
+ volumes:
+ - data:/data
+volumes:
+ data: