diff options
| author | Clawd <ai@clawd.bot> | 2026-02-17 08:11:19 -0800 |
|---|---|---|
| committer | Clawd <ai@clawd.bot> | 2026-02-17 08:11:19 -0800 |
| commit | 6f02ec84a8299fc5577f147cc8741c8a4b162b64 (patch) | |
| tree | 020f3690e92732dcba723be0cfaef649f46de137 /internal/templates/templates.go | |
| parent | 4b5a2656df13181b637c59c29ff31751e11cf22a (diff) | |
| parent | 05ea98df57599775c1d5bfea336012b075531670 (diff) | |
Merge agent-mode: v2 rewrite complete
- Removed all v1 code (-2800 lines)
- Simplified state to just default_host + base_domain
- Atomic port allocation via flock
- --container-port flag for Docker
- Custom domains shown in ship list
- Caddyfiles preserved on redeploy
- JSON output by default, --pretty for humans
Diffstat (limited to 'internal/templates/templates.go')
| -rw-r--r-- | internal/templates/templates.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/templates/templates.go b/internal/templates/templates.go index b68a504..2163f47 100644 --- a/internal/templates/templates.go +++ b/internal/templates/templates.go | |||
| @@ -216,7 +216,7 @@ Requires=docker.service | |||
| 216 | Type=simple | 216 | Type=simple |
| 217 | ExecStartPre=-/usr/bin/docker rm -f {{.Name}} | 217 | ExecStartPre=-/usr/bin/docker rm -f {{.Name}} |
| 218 | ExecStart=/usr/bin/docker run --rm --name {{.Name}} \ | 218 | ExecStart=/usr/bin/docker run --rm --name {{.Name}} \ |
| 219 | -p 127.0.0.1:{{.Port}}:{{.Port}} \ | 219 | -p 127.0.0.1:{{.Port}}:{{.ContainerPort}} \ |
| 220 | --env-file /etc/ship/env/{{.Name}}.env \ | 220 | --env-file /etc/ship/env/{{.Name}}.env \ |
| 221 | -v /var/lib/{{.Name}}/data:/data \ | 221 | -v /var/lib/{{.Name}}/data:/data \ |
| 222 | {{.Name}}:latest | 222 | {{.Name}}:latest |
