services: mail-forwarder: build: context: . network_mode: host environment: TZ: "Asia/Shanghai" # Set working directory to match Dockerfile working_dir: /app volumes: # Mount only the config file, not the entire directory - ./config.toml:/app/config.toml:ro