Skip to content

How to bind the public folder in docker? #314

Discussion options

You must be logged in to vote

So it's expecting a file for the config, but when you create a volume, it is a directory.

In my setup I do something like this (although there may be a better method)

volumes:
  - /path/to/my-config.yml:/app/public/conf.yml

@EVOTk Is much better with Docker than me, so he may have some thoughts?

I think if Dashy were to accept a directory where all assets (config file, image icons, stylesheets, etc) could be passed into, that would be much better. Am considering changing this, but it would be a breaking change, so I would need to think through the best way to implement this.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by irlamplex
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants