- Facebook Login OAuth (meta-web auth service + routes) - Account linking (merge Quest metaId + Facebook facebookId) - User profile updates (bio, isPublic, displayName) - Social endpoints: follow/unfollow, feed (trending/following/recent), likes - Portal comments via WebSocket (subscribe_portal, send_portal_comment) - Prisma migration: Follow, Like models, facebookId/bio/isPublic on User - Provider OAuth source=web redirect support for portal callbacks - Docker compose portal service, CORS multi-origin support
38 lines
859 B
YAML
38 lines
859 B
YAML
services:
|
|
backend:
|
|
build: .
|
|
container_name: lck-control-backend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3100:3000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- DATABASE_URL=file:/app/data/lck.db
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/health"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
portal:
|
|
build:
|
|
context: ../lck-control-portal
|
|
dockerfile: Dockerfile
|
|
container_name: lck-control-portal
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3200:3000"
|
|
environment:
|
|
- NEXT_PUBLIC_API_URL=https://lck.omigame.dev
|
|
- HOSTNAME=0.0.0.0
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 15s
|