Self-host email/password accounts enable the existing collaborator invite flow without Clerk; first admin inherits users/local projects. Co-authored-by: Cursor <cursoragent@cursor.com>
53 lines
900 B
YAML
53 lines
900 B
YAML
services:
|
|
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: backend/Dockerfile
|
|
|
|
container_name: pinscope-backend
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
- .env
|
|
|
|
environment:
|
|
DEEPSEEK_API_KEY: ${DEEPSEEK_API_KEY}
|
|
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
|
|
GEMINI_API_KEY: ${GEMINI_API_KEY:-}
|
|
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./taxonomy:/app/taxonomy
|
|
|
|
ports:
|
|
- "8080:8080"
|
|
|
|
networks:
|
|
- pinscope
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: dockerfile
|
|
args:
|
|
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:8080}
|
|
NEXT_PUBLIC_AUTH_MODE: ${NEXT_PUBLIC_AUTH_MODE:-}
|
|
|
|
container_name: pinscope-frontend
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
- backend
|
|
|
|
ports:
|
|
- "3000:3000"
|
|
|
|
networks:
|
|
- pinscope
|
|
|
|
|
|
networks:
|
|
pinscope:
|
|
driver: bridge
|