version: "3" services: api2gpt-mid: build: context: . dockerfile: Dockerfile container_name: api2gpt-mid-dev environment: # 时区上海 TZ: Asia/Shanghai REDIS_ADDRESS: 172.17.0.1:6379 REDIS_CONN_STRING: redis://@172.17.0.1:6379/0?dial_timeout=5s SERVER_API_USAGE_RECORD_STRING: http://172.17.0.1:8080/other/usageRecord privileged: true restart: always command: --log-dir /app/logs ports: - 8083:8080 volumes: - ./logs:/app/logs