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
|
# import-data disabled
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db-init:
|
db-init:
|
||||||
build: .
|
build: .
|
||||||
command: ["/nba_go"]
|
command: ["/nba_go"]
|
||||||
networks:
|
networks:
|
||||||
- api.network
|
- coolify-shared
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
|
||||||
api1:
|
api1:
|
||||||
build: .
|
build: .
|
||||||
networks:
|
networks:
|
||||||
- api.network
|
- coolify-shared
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
api2:
|
api2:
|
||||||
build: .
|
build: .
|
||||||
networks:
|
networks:
|
||||||
- api.network
|
- coolify-shared
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
api3:
|
api3:
|
||||||
build: .
|
build: .
|
||||||
networks:
|
networks:
|
||||||
- api.network
|
- coolify-shared
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
@@ -40,7 +38,7 @@ services:
|
|||||||
# Map container port 8080 to a static HOST port 8081.
|
# Map container port 8080 to a static HOST port 8081.
|
||||||
- "8081:8080"
|
- "8081:8080"
|
||||||
networks:
|
networks:
|
||||||
- api.network
|
- coolify-shared
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
image: 'prom/prometheus:latest'
|
image: 'prom/prometheus:latest'
|
||||||
@@ -57,7 +55,7 @@ services:
|
|||||||
# Map container port 9090 to a static HOST port 9091.
|
# Map container port 9090 to a static HOST port 9091.
|
||||||
- "9091:9090"
|
- "9091:9090"
|
||||||
networks:
|
networks:
|
||||||
- api.network
|
- coolify-shared
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
@@ -73,7 +71,7 @@ services:
|
|||||||
- './grafana/dashboards:/var/lib/grafana/dashboards'
|
- './grafana/dashboards:/var/lib/grafana/dashboards'
|
||||||
- 'grafana_data:/var/lib/grafana'
|
- 'grafana_data:/var/lib/grafana'
|
||||||
networks:
|
networks:
|
||||||
- api.network
|
- coolify-shared
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
@@ -81,4 +79,6 @@ volumes:
|
|||||||
grafana_data:
|
grafana_data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
api.network: null
|
coolify-shared:
|
||||||
|
name: coolify
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user