retutn network
This commit is contained in:
+22
-12
@@ -13,11 +13,11 @@ services:
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
container_name: postgres
|
||||
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
app:
|
||||
# image: popovtsev/ncp
|
||||
build: .
|
||||
build: .
|
||||
container_name: no_copy_app
|
||||
environment:
|
||||
POSTGRES_DB: no_copy_
|
||||
@@ -29,7 +29,8 @@ services:
|
||||
- db
|
||||
ports:
|
||||
- "81:8080"
|
||||
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:10.3.1
|
||||
@@ -58,7 +59,8 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
@@ -72,7 +74,8 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
loki:
|
||||
image: grafana/loki:2.9.2
|
||||
@@ -86,7 +89,8 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
tempo:
|
||||
image: grafana/tempo:2.4.1
|
||||
@@ -97,16 +101,17 @@ services:
|
||||
- tempo_data:/var/tempo
|
||||
ports:
|
||||
- "3200:3200"
|
||||
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
alloy:
|
||||
image: grafana/alloy:latest
|
||||
container_name: alloy
|
||||
user: root
|
||||
ports:
|
||||
- "9080:9080" # HTTP interface
|
||||
- "4317:4317" # OTLP gRPC
|
||||
- "4318:4318" # OTLP http
|
||||
- "9080:9080"
|
||||
- "4317:4317"
|
||||
- "4318:4318"
|
||||
volumes:
|
||||
- ./infrastructure/alloy/config.alloy:/etc/alloy/config.alloy:ro
|
||||
- /var/lib/docker/containers:/var/lib/docker/containers:ro
|
||||
@@ -119,7 +124,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:
|
||||
@@ -129,3 +135,7 @@ volumes:
|
||||
loki_chunks:
|
||||
loki_index:
|
||||
loki_rules:
|
||||
|
||||
networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user