Files
timeline/docker-compose.yml
licsber 7bc3e10b52
Some checks failed
Build and Push Docker Image / buildx (push) Has been cancelled
copilot: docker optimize.
2025-11-11 16:00:24 +08:00

17 lines
412 B
YAML

services:
Timeline:
build:
context: .
dockerfile: Dockerfile
image: registry.cn-beijing.aliyuncs.com/licsber/timeline:latest
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- PORT=3000
- JWT_SECRET=${JWT_SECRET:-change-this-secret-key-in-production}
- DB_PATH=/app/data/data.db
volumes:
- ./data:/app/data
restart: unless-stopped