Debian Codegraph @

tests/integration/nets_test3/docker-compose.yml

raw symbols SCIP
1 version: "3"
2 networks:
3 net1:
4 net2:
5 services:
6 web1:
7 image: busybox
8 #container_name: web1
9 hostname: web1
10 command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
11 working_dir: /var/www/html
12 networks:
13 - net1
14 ports:
15 - 8001:8001
16 volumes:
17 - ./test1.txt:/var/www/html/index.txt:ro,z
18 web2:
19 image: busybox
20 #container_name: web2
21 hostname: web2
22 command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
23 working_dir: /var/www/html
24 networks:
25 - net1
26 - net2
27 ports:
28 - 8002:8001
29 volumes:
30 - ./test2.txt:/var/www/html/index.txt:ro,z
31 web3:
32 image: busybox
33 command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
34 working_dir: /var/www/html
35 networks:
36 net1:
37 aliases:
38 - alias11
39 - alias12
40 net2:
41 aliases:
42 - alias21
43 volumes:
44 - ./test3.txt:/var/www/html/index.txt:ro,z
45