config.yaml in portainer #565
|
Hey everyone. I went to use the weather feature and realized it only works if you have a config.yaml. it might be my late night brain.. but does anyone know how to configure a portainer template to read a config.yaml? and if so.. where would i put the file? thanks. |
Answered by
damongolding
Nov 3, 2025
Replies: 2 comments 2 replies
|
You can follow this Portainer docs to add a volume. https://docs.portainer.io/2.27/user/docker/containers/attach-volume The file should go to either |
2 replies
Answer selected by
Badjowk
|
Mentioning #834 which might be of impact for certain Docker implementations |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can follow this Portainer docs to add a volume. https://docs.portainer.io/2.27/user/docker/containers/attach-volume
The file should go to either
/config.yamlor/config/config.yamlinside the container but you can put the file on the host anywhere you would like.