Answer the question
In order to leave comments, you need to log in
How to mount files in docker-compose.yml?
for example you specify
volumes:
- '/srv/redmine/files/:/usr/src/redmine/files/'
- '/srv/redmine/config/configuration.yml:/usr/src/redmine/config/configuration.yml'
docker correctly creates the /srv/redmine/config/configuration.yml folder and mounts it as a volume.
how to tell him that this is a file?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question