更新 docker-compose.yml

This commit is contained in:
Bryant 2024-01-30 17:26:23 +08:00
parent d7ed9c8212
commit 20ec4cf8ad
1 changed files with 4 additions and 2 deletions

View File

@ -40,7 +40,8 @@ services:
constraints: constraints:
- node.role == manager - node.role == manager
swarmpit-db: swarmpit-db:
image: couchdb:2.3.1 # image: couchdb:2.3.1
image: couchdb:latest
volumes: volumes:
- db-data:/opt/couchdb/data - db-data:/opt/couchdb/data
networks: networks:
@ -57,7 +58,8 @@ services:
constraints: constraints:
- node.labels.swarmpit.db-data == true - node.labels.swarmpit.db-data == true
swarmpit-influxdb: swarmpit-influxdb:
image: influxdb:1.7 # image: influxdb:1.7
image: influxdb:latest
volumes: volumes:
- influx-data:/var/lib/influxdb - influx-data:/var/lib/influxdb
networks: networks: