Back

Put storage container in network drive

  • 0
  • Self Hosted
  • Storage
Vinicius Brito
19 Oct, 2023, 01:51

Hello! I do have a network drive that is focused on storage, much more than my OS server box, can I place the files container in there? If so, any pointers?

TL;DR
The user wants to know if it's possible to place the files container in a network drive for storage. The solution provided is to specify options for the volume in a docker-compose.override.yml file to set the path to the network drive. This allows for easier upgrades in the future.
Drake
19 Oct, 2023, 01:55

Appwrite stores data in volumes. By default, the volumes are managed by docker so they are stored in docker's system folder. It is possible to specify options for the volume such that the path is your network drive. If you do this, I highly recommend using a docker-compose.override.yml file to minimize changes to the docker-compose.yml file installed by Appwrite. This will make upgrades easier in the future so that you can use the upgrade command as per our docs.

Drake
19 Oct, 2023, 01:55

For example: https://stackoverflow.com/questions/36387032/how-to-set-a-path-on-host-for-a-named-volume-in-docker-compose-yml (this doesn't use a docker-compose.override.yml file, though)

Vinicius Brito
19 Oct, 2023, 03:04

Thanks! Will give it a go

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more