services: app: build: . container_name: bun-proxy-service restart: always ports: - "${PORT:-3000}:${PORT:-3000}" environment: - PORT=${PORT:-3000} - TZ=Asia/Shanghai - NODE_ENV=production env_file: - .env # 可选:如果需要把容器内的日志路径挂载出来,可以加 volumes # volumes: # - ./logs:/app/logs