services: pac-router: build: context: . restart: unless-stopped environment: PAC_UI_HOST: 0.0.0.0 PAC_UI_PORT: 25666 PAC_PROXY_HOST: 0.0.0.0 PAC_PROXY_PORT: 25667 PAC_ALLOW_NON_LOOPBACK: "1" PAC_ROUTER_DB: /data/router.db # Initial values only; existing settings in router.db take precedence. # Replace with the upstream proxy container name after joining it to the same network. PAC_UPSTREAM_HOST: host.docker.internal PAC_UPSTREAM_PORT: 25345 ports: - "127.0.0.1:25666:25666" - "127.0.0.1:25667:25667" volumes: - ./router.db:/data/router.db extra_hosts: - "host.docker.internal:host-gateway" networks: - proxy networks: proxy: external: true