Seafile is an open-source file synchronization and sharing platform. This guide runs MariaDB and Seafile on one Docker network and stores their data under ~/docker/mariadb and ~/docker/seafile.

Install Docker
Log into Linux with sudo access and run:
| |
For a current distribution, also see the
Docker documentation
because apt-key is deprecated.
Run MariaDB and Seafile
- Create the directories and network:
| |
- Start MariaDB. Replace
[DB_ROOT_PASSWORD]with a private secret:
| |
- Start Seafile and point it to the
mariadbcontainer:
| |
Configure Seafile
- Open
http://DNSorIP:8080and wait for first initialization. - Sign in with the administrator account created by the image or your configured credentials; do not use the source's sample credentials.
- Click the profile icon > System Admin > Users.
- Click Add User, enter a private email and password, then Submit.
- Open Admin, click Add Admin, select the new user, and Submit.
- Log out, sign in as the new user, and return to System Admin > Users.
- Select the sample
[email protected]user if it exists and click Delete Users. - Test upload, download, library creation, and sharing permissions.
Warning: Back up both
~/docker/seafileand the database before upgrading the image. Do not expose MariaDB to the Internet; place Seafile behind an HTTPS reverse proxy outside the LAN.
Sources and video
- Original tutorial: i12bretro 0952
- Original video: Run Seafile in Docker


Góp Ý / Bình Luận / Đánh giá