How to Install Seafile File Sync Server with Docker | Self-Hosted Dropbox/Google Drive
In this video, we're going to walk you through the process of setting up Seafile File Sync Server using Docker. If you're looking for a reliable and efficient file syncing solution, Seafile is a great choice, and using Docker makes the installation a breeze.
Get Contabo VPS
https://tinyurl.com/4dv3xsxw
Get DigitalOcean VPS
https://zacs-tech.com/go/digitalocean/
Get Vultr VPS
https://zacs-tech.com/go/vultr/
Register domain name
https://tinyurl.com/y8hz9seu
Get the training and certification you need! Linux Foundation, IT training
https://tinyurl.com/3pwv3czu
How to Install Docker on Ubuntu 22.04
https://www.youtube.com/watch?v=JfM8w70AXVQ&t=57s
Commands
sudo curl -L "htt://github.com/docker/compose/releases/latest/download/docker-compose-linux-$(uname -m)" -o /usr/local/bin/docker-compose (part of https has been removed replace)
sudo chmod +x /usr/local/bin/docker-compose
nano docker-compose.yaml
docker-compose up -d
========================================================
version: '3'
services:
db:
image: mariadb:10.11
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=your-mysql-password
- MYSQL_LOG_CONSOLE=true
volumes:
- mysql-data:/var/lib/mysql
restart: unless-stopped
networks:
- seafile-net
==========================================================
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
memcached:
image: memcached:latest
container_name: seafile-memcached
entrypoint: memcached -m 256
restart: unless-stopped
networks:
- seafile-net
seafile:
image: seafileltd/seafile-mc:latest
container_name: seafile
ports:
- "80:80"
volumes:
- seafile-data:/shared
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=your-mysql-password
- TIME_ZONE=Etc/UTC
- SEAFILE_ADMIN_EMAIL=mail@example.com
- SEAFILE_ADMIN_PASSWORD=your-password
- SEAFILE_SERVER_LETSENCRYPT=false
- SEAFILE_SERVER_HOSTNAME=seafile-server-ip-address
depends_on:
- db
- memcached
restart: unless-stopped
networks:
- seafile-net
networks:
seafile-net:
volumes:
mysql-data: {}
seafile-data: {}