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