services: rolemesh-gateway: build: context: .. dockerfile: docker/Dockerfile environment: - ROLE_MESH_CONFIG=/app/configs/models.yaml - ROLE_MESH_REGISTRY_PATH=/app/state/registry.json - ROLE_MESH_CONNECT_TIMEOUT_S=10 - ROLE_MESH_READ_TIMEOUT_S=600 volumes: - ../configs:/app/configs:ro - ../state:/app/state # For Linux + upstreams bound to 127.0.0.1 on the host, host networking is simplest: network_mode: host # If you can bind upstreams to 0.0.0.0 and reach them via bridge networking, # remove network_mode and map ports instead: # ports: # - "8000:8000"