Archived
added network and storage
This commit is contained in:
+12
-1
@@ -7,6 +7,8 @@ services:
|
||||
- '8083:8083'
|
||||
- '8086:8086'
|
||||
- '8090:8090'
|
||||
networks:
|
||||
- 'monitoring'
|
||||
env_file:
|
||||
- 'influxdb.env'
|
||||
volumes:
|
||||
@@ -20,6 +22,8 @@ services:
|
||||
container_name: graph_grafana
|
||||
ports:
|
||||
- "3000:3000"
|
||||
networks:
|
||||
- 'monitoring'
|
||||
env_file:
|
||||
- 'grafana.env'
|
||||
user: "0"
|
||||
@@ -28,4 +32,11 @@ services:
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.grafana == true
|
||||
- node.labels.grafana == true
|
||||
networks:
|
||||
monitoring:
|
||||
volumes:
|
||||
grafana-volume:
|
||||
external: 'true'
|
||||
influxdb-volume:
|
||||
external: 'true'
|
||||
Reference in New Issue
Block a user