add network
This commit is contained in:
@@ -13,6 +13,8 @@ services:
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
container_name: postgres
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
app:
|
||||
# image: popovtsev/ncp
|
||||
@@ -28,6 +30,8 @@ services:
|
||||
- db
|
||||
ports:
|
||||
- "80:8080"
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:10.3.1
|
||||
@@ -56,6 +60,8 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
@@ -69,6 +75,8 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
loki:
|
||||
image: grafana/loki:2.9.2
|
||||
@@ -82,6 +90,8 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
tempo:
|
||||
image: grafana/tempo:2.4.1
|
||||
@@ -92,6 +102,8 @@ services:
|
||||
- tempo_data:/var/tempo
|
||||
ports:
|
||||
- "3200:3200"
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
alloy:
|
||||
image: grafana/alloy:latest
|
||||
@@ -113,6 +125,8 @@ services:
|
||||
- --server.http.listen-addr=0.0.0.0:9080
|
||||
- --storage.path=/var/lib/alloy/data
|
||||
- /etc/alloy/config.alloy
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
@@ -122,3 +136,6 @@ volumes:
|
||||
loki_chunks:
|
||||
loki_index:
|
||||
loki_rules:
|
||||
networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user