Debian Codegraph @

tests/integration/nets_test_ip/docker-compose.yml

raw symbols SCIP
1 version: "3"
2 networks:
3 shared-network:
4 driver: bridge
5 ipam:
6 config:
7 - subnet: "172.19.1.0/24"
8 internal-network:
9 driver: bridge
10 ipam:
11 config:
12 - subnet: "172.19.2.0/24"
13
14 services:
15 web1:
16 image: busybox
17 hostname: web1
18 command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
19 working_dir: /var/www/html
20 networks:
21 shared-network:
22 ipv4_address: "172.19.1.10"
23 x-podman.mac_address: "02:01:01:00:01:01"
24 internal-network:
25 ipv4_address: "172.19.2.10"
26 mac_address: "02:01:01:00:02:01"
27 volumes:
28 - ./test1.txt:/var/www/html/index.txt:ro,z
29 web2:
30 image: busybox
31 hostname: web2
32 command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
33 working_dir: /var/www/html
34 mac_address: "02:01:01:00:02:02"
35 networks:
36 internal-network:
37 ipv4_address: "172.19.2.11"
38 volumes:
39 - ./test2.txt:/var/www/html/index.txt:ro,z
40
41 web3:
42 image: busybox
43 hostname: web2
44 command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
45 working_dir: /var/www/html
46 networks:
47 internal-network:
48 volumes:
49 - ./test3.txt:/var/www/html/index.txt:ro,z
50
51 web4:
52 image: busybox
53 hostname: web2
54 command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
55 working_dir: /var/www/html
56 networks:
57 internal-network:
58 shared-network:
59 ipv4_address: "172.19.1.13"
60 volumes:
61 - ./test4.txt:/var/www/html/index.txt:ro,z