Update stack.yml
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
colin 2025-02-01 09:57:34 -05:00
parent 89eb31b83b
commit 5c2dd3b5ff
1 changed files with 19 additions and 5 deletions

View File

@ -1,5 +1,3 @@
version: '3.8'
services:
swarmpit:
image: swarmpit/swarmpit:latest
@ -7,6 +5,13 @@ services:
SWARMPIT_DB: http://swarmpit_couchdb:5984
SWARMPIT_INFLUXDB: http://swarmpit_influxdb:8086
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: 30s
timeout: 10s
retries: 3
networks:
- net
- traefik
@ -42,6 +47,9 @@ services:
image: couchdb:2.3.0
volumes:
- /mnt/tank/persist/nixc.us/swarmpit/production/couchdb:/opt/couchdb/data
environment:
COUCHDB_USER: ${COUCHDB_USER:-admin}
COUCHDB_PASSWORD: ${COUCHDB_PASSWORD:-password}
networks:
- net
deploy:
@ -61,6 +69,11 @@ services:
influxdb:
image: influxdb:1.7
environment:
INFLUXDB_DB: ${INFLUXDB_DB:-swarmpit}
INFLUXDB_ADMIN_USER: ${INFLUXDB_ADMIN_USER:-admin}
INFLUXDB_ADMIN_PASSWORD: ${INFLUXDB_ADMIN_PASSWORD:-password}
INFLUXDB_HTTP_AUTH_ENABLED: "true"
networks:
- net
deploy:
@ -76,9 +89,9 @@ services:
agent:
image: swarmpit/agent:latest
environment:
DOCKER_API_VERSION: 1.43
EVENT_ENDPOINT: http://swarmpit_swarmpit:8080/events
HEALTH_CHECK_ENDPOINT: http://swarmpit_swarmpit:8080/version
DOCKER_API_VERSION: "1.43"
EVENT_ENDPOINT: "http://swarmpit_swarmpit:8080/events"
HEALTH_CHECK_ENDPOINT: "http://swarmpit_swarmpit:8080/version"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
@ -87,6 +100,7 @@ services:
mode: global
endpoint_mode: dnsrr
labels:
us.nixc.autodeploy: 'true'
swarmpit.agent: 'true'
resources:
limits: