fix: Add missing relations to Prisma schema (Pet/Booking, Invoice/Booking)
This commit is contained in:
+2
-17
@@ -47,7 +47,7 @@ services:
|
||||
JWT_SECRET: ${JWT_SECRET:-change-me-in-production}
|
||||
STRIPE_SECRET_KEY: ${STRIPE_SECRET_KEY:-sk_test_placeholder}
|
||||
STRIPE_WEBHOOK_SECRET: ${STRIPE_WEBHOOK_SECRET:-whsec_placeholder}
|
||||
CORS_ORIGIN: http://localhost:3001
|
||||
CORS_ORIGIN: "*"
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -70,27 +70,12 @@ services:
|
||||
ports:
|
||||
- "3001:3001"
|
||||
environment:
|
||||
REACT_APP_API_URL: http://localhost:3000
|
||||
REACT_APP_API_URL: http://api:3000
|
||||
depends_on:
|
||||
- api
|
||||
networks:
|
||||
- petmaster-net
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: petmaster-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./web/nginx.conf:/etc/nginx/nginx.conf
|
||||
depends_on:
|
||||
- web
|
||||
- api
|
||||
networks:
|
||||
- petmaster-net
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
driver: local
|
||||
|
||||
Reference in New Issue
Block a user