docker – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
2 | office | 1 | ersion: '3.7' |
2 | |||
3 | services: |
||
4 | swarmpit: |
||
5 | image: swarmpit/swarmpit:latest |
||
6 | environment: |
||
7 | - SWARMPIT_DB=http://docker.internal:5984 |
||
8 | - SWARMPIT_INFLUXDB=http://docker.internal:8086 |
||
9 | volumes: |
||
10 | - /var/run/docker.sock:/var/run/docker.sock:ro |
||
11 | ports: |
||
12 | - 888:8080 |
||
13 | healthcheck: |
||
14 | test: ["CMD", "curl", "-f", "http://localhost:8080"] |
||
15 | interval: 60s |
||
16 | timeout: 10s |
||
17 | retries: 3 |
||
18 | deploy: |
||
19 | resources: |
||
20 | limits: |
||
21 | cpus: '0.50' |
||
22 | memory: 1024M |
||
23 | reservations: |
||
24 | cpus: '0.25' |
||
25 | memory: 512M |
||
26 | placement: |
||
27 | constraints: |
||
28 | - node.role == manager |
||
29 | |||
30 | swarmpit_agent: |
||
31 | image: swarmpit/agent:latest |
||
32 | environment: |
||
33 | - DOCKER_API_VERSION=1.35 |
||
34 | volumes: |
||
35 | - /var/run/docker.sock:/var/run/docker.sock:ro |
||
36 | deploy: |
||
37 | mode: global |
||
38 | labels: |
||
39 | swarmpit.agent: 'true' |
||
40 | resources: |
||
41 | limits: |
||
42 | cpus: '0.10' |
||
43 | memory: 64M |
||
44 | reservations: |
||
45 | cpus: '0.05' |
||
46 | memory: 32M |