Network surfaces
A same-host reverse proxy can use
127.0.0.1:18080. In another container, localhost refers to that proxy container; configure a shared network or reachable host address. Expose Gateway to users and keep internal components and PostgreSQL private.
Enable remote access
Prepare a domain and TLS certificate, then proxy HTTPS to Gateway. SetBUILDER_OAUTH_PUBLIC_URL=https://agentscope.example.com in .env. Adjust BIND_ADDRESS and GATEWAY_PORT if needed, then recreate containers.
The proxy must forward SSE promptly, avoid event-stream caching and allow sufficiently long read timeouts. Verify login, long replies, reconnection and OAuth/Channel callbacks, not just the home page.
Persist data
Named volumes store PostgreSQL, shared Workspaces and Artifacts. Locate project volumes withdocker volume ls and back them up according to your storage policy. Preserve the Vault master key from .env with encrypted data.
For host directories, configure explicit mounts and access for container user 65532:65532. An Agent instruction containing a local path does not make it readable inside the container. File access must match the selected Environment.
Change configuration or version
After editing.env:
init-env.sh preserves existing configuration, so edit SERVICE_VERSION to change versions. Coordinate secret changes across consumers; Vault master keys cannot be casually replaced.
Complete Compose runs standalone HTTP. ASDP-dependent SDKs need the corresponding External integration deployment. See Helm for Kubernetes storage and scheduling, and rehearse recovery before upgrading.