services: notion2api: build: context: . dockerfile: ${N2A_DOCKERFILE:-Dockerfile} image: ${N2A_IMAGE:-notion2api:latest} container_name: ${N2A_CONTAINER_NAME:-notion2api} restart: ${N2A_RESTART_POLICY:-unless-stopped} ports: - "${N2A_PORT:-8787}:8787" volumes: - ${N2A_CONFIG_FILE:-./config.docker.json}:/app/config/config.json:ro - ${N2A_DATA_DIR:-./data}:/app/data environment: TZ: ${TZ:-Asia/Shanghai} N2A_PROXY_MODE: ${N2A_PROXY_MODE:-} N2A_PROXY_URL: ${N2A_PROXY_URL:-} N2A_PROXY_HTTP_URL: ${N2A_PROXY_HTTP_URL:-} N2A_PROXY_HTTPS_URL: ${N2A_PROXY_HTTPS_URL:-} N2A_RESIN_ENABLED: ${N2A_RESIN_ENABLED:-} N2A_RESIN_URL: ${N2A_RESIN_URL:-} N2A_RESIN_PLATFORM: ${N2A_RESIN_PLATFORM:-} N2A_RESIN_MODE: ${N2A_RESIN_MODE:-} HTTP_PROXY: ${HTTP_PROXY:-} HTTPS_PROXY: ${HTTPS_PROXY:-} ALL_PROXY: ${ALL_PROXY:-} NO_PROXY: ${NO_PROXY:-} command: ["./notion2api", "--config", "/app/config/config.json"]