Add hint to .DockerCompose in documentation

It took me a fair bit of time before i understood that '{{ .DockerCompose }}' was defined by the dockerCompose var in commandTemplates.

In hindsight it is VERY obvious.. so i just wanted to contribute a comment that would have been useful to me when i first tried to set this up.
This commit is contained in:
hausken 2024-06-26 00:15:38 +02:00 committed by GitHub
parent 06ab7b77b1
commit 015a1086b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ logs:
since: '60m' # set to '' to show all logs since: '60m' # set to '' to show all logs
tail: '' # set to 200 to show last 200 lines of logs tail: '' # set to 200 to show last 200 lines of logs
commandTemplates: commandTemplates:
dockerCompose: docker-compose dockerCompose: docker-compose # Determines the Docker Compose command to run, referred to as .DockerCompose in commandTemplates
restartService: '{{ .DockerCompose }} restart {{ .Service.Name }}' restartService: '{{ .DockerCompose }} restart {{ .Service.Name }}'
up: '{{ .DockerCompose }} up -d' up: '{{ .DockerCompose }} up -d'
down: '{{ .DockerCompose }} down' down: '{{ .DockerCompose }} down'