Debian Codegraph @

tests/integration/yamlmagic/docker-compose.yml

raw symbols SCIP
1 version: '3.6'
2
3 x-deploy-base: &deploy-base
4 restart_policy:
5 delay: 2s
6
7 x-common: &common
8 network: host
9 deploy:
10 <<: *deploy-base
11 networks:
12 hostnet: {}
13
14 networks:
15 hostnet:
16 external: true
17 name: host
18
19 volumes:
20 node-red_data:
21
22 services:
23 node-red:
24 <<: *common
25 image: busybox
26 command: busybox httpd -h /data -f -p 8080
27 deploy:
28 <<: *deploy-base
29 resources:
30 limits:
31 cpus: '0.5'
32 memory: 32M
33 volumes:
34 - node-red_data:/data