more operators help

This commit is contained in:
2022-02-03 16:02:11 +01:00
parent e6810cfba9
commit 89d13c31ed
3 changed files with 90 additions and 116 deletions

View File

@ -45,3 +45,7 @@ TODO.
### /bin/bash is missing?
TODO.
## Referening service names in configs?
When referencing an `app` service in a config file, you should prefix with the `STACK_NAME` to avoid namespace conflicts (because all these containers sit on the traefik overlay network). You might want to do something like this `{{ env "STACK_NAME" }}_app` (using the often obscure dark magic of the Golang templating language). You can find examples of this approach used in the [Peertube recipe](https://git.coopcloud.tech/coop-cloud/peertube/src/commit/d1b297c5a6a23a06bf97bb954104ddfd7f736568/nginx.conf.tmpl#L9).