mirror of
https://github.com/containers/podman-compose.git
synced 2025-08-16 08:38:04 +02:00
Move all tests to single directory "tests"
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
23
tests/integration/nets_test2/docker-compose.yml
Normal file
23
tests/integration/nets_test2/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: "3"
|
||||
networks:
|
||||
mystack:
|
||||
services:
|
||||
web1:
|
||||
image: busybox
|
||||
hostname: web1
|
||||
command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
|
||||
working_dir: /var/www/html
|
||||
ports:
|
||||
- 8001:8001
|
||||
volumes:
|
||||
- ./test1.txt:/var/www/html/index.txt:ro,z
|
||||
web2:
|
||||
image: busybox
|
||||
hostname: web2
|
||||
command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
|
||||
working_dir: /var/www/html
|
||||
ports:
|
||||
- 8002:8001
|
||||
volumes:
|
||||
- ./test2.txt:/var/www/html/index.txt:ro,z
|
||||
|
1
tests/integration/nets_test2/test1.txt
Normal file
1
tests/integration/nets_test2/test1.txt
Normal file
@ -0,0 +1 @@
|
||||
test1
|
1
tests/integration/nets_test2/test2.txt
Normal file
1
tests/integration/nets_test2/test2.txt
Normal file
@ -0,0 +1 @@
|
||||
test2
|
Reference in New Issue
Block a user