From 9930c5242294ce38a9be6bb4051bebecbd67f49b Mon Sep 17 00:00:00 2001 From: peb-adr Date: Tue, 2 Jun 2026 14:32:07 +0200 Subject: [PATCH] Include default value for host and port in tmpl (#52) --- contrib/docker-compose.yml.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/docker-compose.yml.tmpl b/contrib/docker-compose.yml.tmpl index 873a91a..becf825 100644 --- a/contrib/docker-compose.yml.tmpl +++ b/contrib/docker-compose.yml.tmpl @@ -78,7 +78,7 @@ services: - uplink - frontend ports: - - {{ .host }}:{{ .port }}:8000 + - {{ or .host "127.0.0.1" }}:{{ or .port "8000" }}:8000 {{- if .enableLocalHTTPS }} secrets: - cert_crt @@ -220,6 +220,7 @@ services: - postgres - autoupdate {{- end }} + restart: unless-stopped environment: << : *default-environment {{- with .services.search.environment }}{{ marshalContent 6 . }}{{- end }} @@ -240,6 +241,7 @@ services: - backendAction - postgres {{- end }} + restart: unless-stopped environment: << : *default-environment {{- with .services.projector.environment }}{{ marshalContent 6 . }}{{- end }}