fix: docker
This commit is contained in:
+15
-1
@@ -14,6 +14,8 @@ services:
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- kooltab-net
|
||||
|
||||
api:
|
||||
build:
|
||||
@@ -32,6 +34,9 @@ services:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- kooltab-net
|
||||
- scoobydoo
|
||||
|
||||
dashboard:
|
||||
build:
|
||||
@@ -45,6 +50,15 @@ services:
|
||||
depends_on:
|
||||
- api
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- kooltab-net
|
||||
- scoobydoo
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
pgdata:
|
||||
|
||||
networks:
|
||||
kooltab-net:
|
||||
driver: bridge
|
||||
scoobydoo:
|
||||
external: true
|
||||
+9
-1
@@ -16,6 +16,8 @@ services:
|
||||
- CORS_ORIGIN=http://localhost:3000
|
||||
volumes:
|
||||
- api-data:/app/prisma
|
||||
networks:
|
||||
- kooltab-net
|
||||
|
||||
dashboard:
|
||||
build:
|
||||
@@ -28,6 +30,12 @@ services:
|
||||
- NEXT_PUBLIC_API_URL=http://localhost:3001/api/v1
|
||||
depends_on:
|
||||
- api
|
||||
networks:
|
||||
- kooltab-net
|
||||
|
||||
volumes:
|
||||
api-data:
|
||||
api-data:
|
||||
|
||||
networks:
|
||||
kooltab-net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user