docker network

This commit is contained in:
Sedat ÖZTÜRK 2025-08-11 12:36:59 +03:00
parent 8c74740eb3
commit b84d85663a
2 changed files with 5 additions and 4 deletions

View file

@ -18,7 +18,7 @@ services:
- ASPNETCORE_ENVIRONMENT=Dev - ASPNETCORE_ENVIRONMENT=Dev
- SEED=${SEED} - SEED=${SEED}
networks: networks:
- kurs-platform-data_db - db
# Backend API # Backend API
api: api:
@ -33,7 +33,7 @@ services:
- cdn:/etc/api/cdn - cdn:/etc/api/cdn
- api-keys:/root/.aspnet/DataProtection-Keys - api-keys:/root/.aspnet/DataProtection-Keys
networks: networks:
- kurs-platform-data_db - db
- default - default
# Frontend (UI) # Frontend (UI)

View file

@ -3,7 +3,8 @@ name: kurs-platform-data
networks: networks:
db: db:
external: false external: true
name: kurs-platform-data_db
volumes: volumes:
pg: pg: