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