-
Notifications
You must be signed in to change notification settings - Fork 56
Sample config files? #1
Comments
Thanks, appreciate the feedback. No plans to supply example configs for services at the moment, in part because I don't want to dictate configuration to users beyond the structure of the stack. Additionally, having a set of example configs would likely result in users being lazy and not changing the API keys to unique ones. Ideally we'd be able to supply a file location for API keys on per-service basis, allowing the use of Docker secrets - but I don't have much desire to submit a PR to each project to enable that. |
Makes sense, thank you. Secrets would indeed be nice. These stacks populate the config directory with config files if the files don't exist, so that makes it easy to modify. I ask primarily with Traefik in mind as I am having a hard time getting the There is a catch (and possibly something that warrants a README update) - if individual files are volumed in, and the files don't already exist on the host, Docker will create directories with these names instead of files. This causes Traefik to have a hissy fit. traefik:
image: traefik:latest
...
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ${CONFIG}/traefik/acme.json:/acme.json
- ${CONFIG}/traefik/traefik.toml:/etc/traefik/traefik.toml
- ${CONFIG}/traefik/.htpasswd:/etc/traefik/.htpasswd:ro For example, if This brings me to my current problem of trying to configure Traefik - I have created More questions:
|
Indeed, this is expected behaviour from Docker (although whether it's desirable is another thing). The README does contain steps that, if followed, should ensure users don't end up encountering that issue.
My setup, sans email, is below. It should be identical to the provided example in the repo. It's odd you're encountering issues, could you attach the Traefik log?
In the sense of wanting to continue to use it? I am.
Right now Traefik fulfills my requirements well, but should that change in the future I'll definitely keep Rgon in mind. |
Hey, nice work on the stack. All of these services volume out a config directory, any plans on sharing some example configs?
The text was updated successfully, but these errors were encountered: