| 1 | amends "../../config/Service.pkl" |
| 2 | |
| 3 | name = "OpenClaw" |
| 4 | access = "infra-admin" |
| 5 | enabled = false |
| 6 | stageIsolation = "fresh" |
| 7 | healthyDeadline = "30m" |
| 8 | healthRestartGrace = "30m" |
| 9 | prepare = "prepare.py" |
| 10 | setup = "setup.py" |
| 11 | |
| 12 | containers { |
| 13 | ["gateway"] { |
| 14 | image = "docker.io/library/nginx@sha256:17ae566734b63632e543c907ba74757e0c1a25d812ab9f10a07a6bed98dd199c" |
| 15 | hostNetwork = true |
| 16 | entrypoint = "/usr/sbin/nginx" |
| 17 | args { "-c"; "/cfg/nginx.conf"; "-g"; "daemon off;" } |
| 18 | memory = 256 |
| 19 | http { |
| 20 | containerPort = 18889 |
| 21 | hostPort = 18889 |
| 22 | loopback = true |
| 23 | subdomain = "openclaw" |
| 24 | authRole = "infra-admin" |
| 25 | userHeader = "X-OpenClaw-User" |
| 26 | checkPath = "/healthz" |
| 27 | } |
| 28 | volumes { |
| 29 | ["/cfg"] {} |
| 30 | ["/etc/ssl/certs/ca-certificates.crt"] { src = "/var/lib/snowglobe/ca-bundle.crt"; readOnly = true } |
| 31 | } |
| 32 | } |
| 33 | ["internet"] { |
| 34 | image = "docker.io/ubuntu/squid@sha256:8fafd41d6ddceb295d26eea9938321d825ac5351c7e46cf6a8aa5d093b8ed1ce" |
| 35 | hostNetwork = true |
| 36 | entrypoint = "/usr/sbin/squid" |
| 37 | args { "-N"; "-f"; "/config/squid.conf" } |
| 38 | memory = 256 |
| 39 | volumes { ["/config/squid.conf"] { config = "squid.conf" } } |
| 40 | } |
| 41 | } |