How to mount volumes for docker-compose.yml? #284
Unanswered
deffcolony
asked this question in
Q&A
Replies: 1 comment 1 reply
-
So, I was reading the Dockerfile to understand how it handles volumes and found that you can use the volumes:
- ./error-pages/data/templates:/opt/templates
- ./error-pages/data/config:/opt/config is there any way this can happen automaticly? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the correct way to mount the volumes so i could make changes to the templates? when i tried
- ./error-pages/errors:/usr/share/nginx/errorpages/
Nothing shows up... im not sure where the template files are located
This is the docker compose file i am currently using
docker-compose.yml
Beta Was this translation helpful? Give feedback.
All reactions