Update stack.yml
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
68ac45cf36
commit
89eb31b83b
58
stack.yml
58
stack.yml
|
@ -1,23 +1,18 @@
|
||||||
version: '3.7'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
swarmpit:
|
swarmpit:
|
||||||
image: swarmpit/swarmpit:latest
|
image: swarmpit/swarmpit:latest
|
||||||
environment:
|
environment:
|
||||||
- SWARMPIT_DB=http://swarmpit_couchdb:5984
|
SWARMPIT_DB: http://swarmpit_couchdb:5984
|
||||||
- SWARMPIT_INFLUXDB=http://swarmpit_influxdb:8086
|
SWARMPIT_INFLUXDB: http://swarmpit_influxdb:8086
|
||||||
- SWAMPIT_DOCKER_SOCK=http://socketproxy_socketproxy:2375
|
SWAMPIT_DOCKER_SOCK: http://socketproxy_socketproxy:2375
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080"]
|
|
||||||
interval: 60s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
- traefik
|
- traefik
|
||||||
- socketproxy
|
- socketproxy
|
||||||
deploy:
|
deploy:
|
||||||
|
endpoint_mode: dnsrr
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == macmini14
|
- node.hostname == macmini14
|
||||||
|
@ -42,14 +37,6 @@ services:
|
||||||
reservations:
|
reservations:
|
||||||
cpus: '0.25'
|
cpus: '0.25'
|
||||||
memory: 512M
|
memory: 512M
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.role == manager
|
|
||||||
logging:
|
|
||||||
driver: "gelf"
|
|
||||||
options:
|
|
||||||
gelf-address: "udp://log.nixc.us:15124"
|
|
||||||
tag: "swarmpit_swarmpit"
|
|
||||||
|
|
||||||
couchdb:
|
couchdb:
|
||||||
image: couchdb:2.3.0
|
image: couchdb:2.3.0
|
||||||
|
@ -58,6 +45,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
deploy:
|
deploy:
|
||||||
|
endpoint_mode: dnsrr
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '0.30'
|
cpus: '0.30'
|
||||||
|
@ -70,18 +58,13 @@ services:
|
||||||
- node.hostname == macmini14
|
- node.hostname == macmini14
|
||||||
labels:
|
labels:
|
||||||
- "us.nixc.autodeploy=true"
|
- "us.nixc.autodeploy=true"
|
||||||
logging:
|
|
||||||
driver: "gelf"
|
|
||||||
options:
|
|
||||||
gelf-address: "udp://log.nixc.us:15124"
|
|
||||||
tag: "swarmpit_couchdb"
|
|
||||||
influxdb:
|
influxdb:
|
||||||
image: influxdb:1.7
|
image: influxdb:1.7
|
||||||
volumes:
|
|
||||||
- /mnt/tank/persist/nixc.us/swarmpit/production/influxdb:/var/lib/influxdb
|
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
deploy:
|
deploy:
|
||||||
|
endpoint_mode: dnsrr
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '0.60'
|
cpus: '0.60'
|
||||||
|
@ -89,31 +72,21 @@ services:
|
||||||
reservations:
|
reservations:
|
||||||
cpus: '0.30'
|
cpus: '0.30'
|
||||||
memory: 128M
|
memory: 128M
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.hostname == macmini14
|
|
||||||
labels:
|
|
||||||
- "us.nixc.autodeploy=true"
|
|
||||||
logging:
|
|
||||||
driver: "gelf"
|
|
||||||
options:
|
|
||||||
gelf-address: "udp://log.nixc.us:15124"
|
|
||||||
tag: "swarmpit_influxdb"
|
|
||||||
|
|
||||||
agent:
|
agent:
|
||||||
image: swarmpit/agent:latest
|
image: swarmpit/agent:latest
|
||||||
environment:
|
environment:
|
||||||
- DOCKER_API_VERSION=1.43
|
DOCKER_API_VERSION: 1.43
|
||||||
- EVENT_ENDPOINT=http://swarmpit_swarmpit:8080/events
|
EVENT_ENDPOINT: http://swarmpit_swarmpit:8080/events
|
||||||
- HEALTH_CHECK_ENDPOINT=http://swarmpit_swarmpit:8080/version
|
HEALTH_CHECK_ENDPOINT: http://swarmpit_swarmpit:8080/version
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
deploy:
|
deploy:
|
||||||
mode: global
|
mode: global
|
||||||
|
endpoint_mode: dnsrr
|
||||||
labels:
|
labels:
|
||||||
us.nixc.autodeploy: 'true'
|
|
||||||
swarmpit.agent: 'true'
|
swarmpit.agent: 'true'
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -122,11 +95,6 @@ services:
|
||||||
reservations:
|
reservations:
|
||||||
cpus: '0.05'
|
cpus: '0.05'
|
||||||
memory: 32M
|
memory: 32M
|
||||||
logging:
|
|
||||||
driver: "gelf"
|
|
||||||
options:
|
|
||||||
gelf-address: "udp://log.nixc.us:15124"
|
|
||||||
tag: "swarmpit_agent"
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
net:
|
net:
|
||||||
|
|
Loading…
Reference in New Issue