I am attempting to set up joplin server. My environment is as follows:
Ubuntu server v 20.04.4 LTS
Server version - 2.7.4
Docker - joplin/server:latest
I have successfully set up a locally hosted server with items stored in the database and have successfully synced to the server. I am however having difficulties setting up for storage outside the database.
Based on my reading of the instructions here I am aware that I need to add an environment variable (which I will add to the .env file) as follows:
STORAGE_DRIVER=Type=Filesystem; Path=/path/to/dir
I am however unsure what to set as the Path in the above.
From this forum post I have gathered that the filesystem path refers to the filesystem of the container. If this is the case I am unsure of what would be a suitable path to use. Will the directory I specify be created in the container if it doesn't already exist or does an existing directory have to be used?
Assuming that the above path is indeed to the filesystem of the container, I assume a bind mount is needed for the app to map the server path to the container path.
I seem to have reached the extent of my basic working knowledge of Docker and any suggestions are greatly appreciated.