mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 14:05:13 +00:00
docker compose update network
This commit is contained in:
+10
-10
@@ -1,30 +1,28 @@
|
||||
# docker-compose.yml - Final Version with Static Port Mappings
|
||||
# import-data disabled
|
||||
|
||||
services:
|
||||
db-init:
|
||||
build: .
|
||||
command: ["/nba_go"]
|
||||
networks:
|
||||
- api.network
|
||||
- coolify-shared
|
||||
restart: "no"
|
||||
|
||||
api1:
|
||||
build: .
|
||||
networks:
|
||||
- api.network
|
||||
- coolify-shared
|
||||
restart: always
|
||||
|
||||
api2:
|
||||
build: .
|
||||
networks:
|
||||
- api.network
|
||||
- coolify-shared
|
||||
restart: always
|
||||
|
||||
api3:
|
||||
build: .
|
||||
networks:
|
||||
- api.network
|
||||
- coolify-shared
|
||||
restart: always
|
||||
|
||||
nginx:
|
||||
@@ -40,7 +38,7 @@ services:
|
||||
# Map container port 8080 to a static HOST port 8081.
|
||||
- "8081:8080"
|
||||
networks:
|
||||
- api.network
|
||||
- coolify-shared
|
||||
|
||||
prometheus:
|
||||
image: 'prom/prometheus:latest'
|
||||
@@ -57,7 +55,7 @@ services:
|
||||
# Map container port 9090 to a static HOST port 9091.
|
||||
- "9091:9090"
|
||||
networks:
|
||||
- api.network
|
||||
- coolify-shared
|
||||
restart: unless-stopped
|
||||
|
||||
grafana:
|
||||
@@ -73,7 +71,7 @@ services:
|
||||
- './grafana/dashboards:/var/lib/grafana/dashboards'
|
||||
- 'grafana_data:/var/lib/grafana'
|
||||
networks:
|
||||
- api.network
|
||||
- coolify-shared
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
@@ -81,4 +79,6 @@ volumes:
|
||||
grafana_data:
|
||||
|
||||
networks:
|
||||
api.network: null
|
||||
coolify-shared:
|
||||
name: coolify
|
||||
external: true
|
||||
Reference in New Issue
Block a user