Debian Codegraph @

tests/integration/vol/docker-compose.yaml

raw symbols SCIP
1 version: "3"
2 services:
3 web:
4 image: nopush/podman-compose-test
5 command: ["dumb-init", "/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8000"]
6 working_dir: /var/www/html
7 restart: always
8 volumes:
9 - /var/www/html
10 tmpfs:
11 - /run
12 - /tmp
13 web1:
14 image: nopush/podman-compose-test
15 command: ["dumb-init", "/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
16 restart: unless-stopped
17 working_dir: /var/www/html
18 volumes:
19 - myvol1:/var/www/html:ro,z
20 web2:
21 image: nopush/podman-compose-test
22 command: ["dumb-init", "/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8002"]
23 working_dir: /var/www/html
24 volumes:
25 - myvol2:/var/www/html:ro
26 web3:
27 image: nopush/podman-compose-test
28 command: ["dumb-init", "/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8003"]
29 working_dir: /var/www/html
30 volumes:
31 - myvol2:/var/www/html
32 - data:/var/www/html_data
33 - data2:/var/www/html_data2
34 - data3:/var/www/html_data3
35
36 volumes:
37 myvol1:
38 myvol2:
39 labels:
40 mylabel: myval
41 data:
42 name: my-app-data
43 external: true
44 data2:
45 external:
46 name: actual-name-of-volume
47 data3:
48 name: my-app-data3
49