Docker bind mount as a named volume
Helps because the initialisation stuff runs.
Thank you BMitch on stackoverflow.1
services:
your-service:
volumes:
- uploads:/var/www/html/wp-content/uploads
volumes:
uploads:
driver: local
driver_opts:
type: none
o: bind
device: /path/on/host/to/wordpress/uploads
This fixed some issues I was having deploying OMERO.
-
z:202303022150 ↩