Replies: 2 comments 6 replies
-
I would treat the docker-compose files here as basic examples. You should be able to adjust them to suit your own needs.
|
Beta Was this translation helpful? Give feedback.
6 replies
-
is it work ? only add nfs volumes in docker-compose.yaml? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Due to storage requirements, I want to store all the media files (folder
media_files
) outside the mediacms home on a Docker install. E.g. the media files should be stored on a mounted NFS share (mountet as/mnt/nfs/mediacms/media_files
.I've now tried it with modifying the
docker-compose.yaml
(see the added volumes for 'web' and 'celery_worker'):This seems to work, but I still have a few questions:
media_files
directory or should the corresponding volume be added to the other containers too?And another offtopic question:
Why the volume for PostgreSQL is not inside the working dir of mediacms?
That's part of the
docker-compose.yaml
:Wouldn't this be sufficient:
Beta Was this translation helpful? Give feedback.
All reactions