更新 docker-compose.yml
This commit is contained in:
parent
d7ed9c8212
commit
20ec4cf8ad
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue