DB_ROOT_PASSWD=do_not_use_this_password_change_me MYSQL_ROOT_PASSWORD=do_not_use_this_password_change_me Here is the complete docker-compose.yml I used for this demo installation. If you want to use TLS, update SEAFILE_SERVER_HOSTNAME and SEAFILE_SERVER_LETSENCRYPT.SEAFILE_ADMIN_EMAIL and SEAFILE_ADMIN_PASSWORD.The volume directory of Seafile data (volumes).The volume directory of MySQL data (volumes).The password of MariaDb root ( MYSQL_ROOT_PASSWORD and DB_ROOT_PASSWD).Visit the official documentation page for more information about this topic:ĭownload the Seafile docker-compose.yml to your server. Doing it the manual way gives you complete control over the Seafile installation. Instead, you can install Seafile directly on Linux. You should see the Hello from Docker! message if everything is set up correctly.Ĭurl -SL -o ~/.docker/cli-plugins/docker-composeĬhmod +x ~/.docker/cli-plugins/docker-composeĬheck if it works $ docker compose version Test the Docker installation with docker run hello-world. Install Docker following the installation instructions on this web page: The easiest way to install Seafile is with Docker. If you are not logged in as root, prepend sudo to the commands or switch to root with sudo -i.įirst, make sure that the system is up-to-date. I run all the following commands as a root user on a Debian 11. Either for the whole domain if you get all your certificates from one CA or just for the subdomain if you use multiple certificate authorities. If your DNS provider supports this feature, I also recommend adding a CAA record. Also add a AAAA record if the server has a public IPv6 address. In the web console of my DNS provider, I inserted an A record that points to the IP address of my VPS. This is needed if you want to use TLS, which is highly recommended. DNSīefore setting up the server, I created a subdomain in the DNS configuration. Check out this page to see the differences between Community and Pro Edition. There is also a Pro Edition, which is also free for up to 3 users, but for this tutorial, I don't need the additional features of the Pro Edition. In this tutorial, I will install the free Community Edition of Seafile. The smallest Contabo VPS presently (February 2022) for EUR 4.99 / month includes a 200 GB SSD. ![]() ![]() If you are looking for a VPS with much more disk space, I recommend looking at Contabo. I'm testing this on the smallest Hetzner server offering (CX11) with 2GB of RAM and 20GB of disk space. For this example I use a VPS from Hetzner (referral link). But in this tutorial, I will show you how to self-host Seafile and install it on a VPS. You can use Seafile by subscribing to a hosting provider. Seafile also provides drive clients that enable you to access files on the server without syncing to a local disk, like a network drive. These clients share the files across different devices. Seafile provides a web interface but also native clients for macOS, Linux, Windows, and for the mobile platforms Android and iOS. You can upload files and sync them across different devices. Seafile is an open-source file sync and share software. Self-host Seafile Home | Send Feedback Self-host Seafile
0 Comments
Leave a Reply. |