forked from toolshed/docs.coopcloud.tech
more operators help
This commit is contained in:
@ -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).
|
||||
|
Reference in New Issue
Block a user