Files
kooltab-backoffice/docker-compose.yml
T
2026-10-08 00:25:30 +02:00

41 lines
777 B
YAML

version: '3.8'
services:
api:
build:
context: .
dockerfile: Dockerfile
target: api
ports:
- "3001:3001"
environment:
- DATABASE_URL=file:./dev.db
- JWT_SECRET=dev-jwt-secret-change-in-production
- JWT_REFRESH_SECRET=dev-refresh-secret-change-in-production
- PORT=3001
- CORS_ORIGIN=http://localhost:3000
volumes:
- api-data:/app/prisma
networks:
- kooltap-net
dashboard:
build:
context: .
dockerfile: Dockerfile
target: dashboard
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_API_URL=http://localhost:3001/api/v1
depends_on:
- api
networks:
- kooltap-net
volumes:
api-data:
networks:
kooltap-net:
driver: bridge