Docker

Quelle: https://docs.docker.com/engine/install/debian/#install-using-the-repository

# Add Docker's official GPG key:
apt update
apt install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
 
# Add the repository to Apt sources:
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Migrate seafile

Quelle: https://manual.seafile.com/docker/non_docker_to_docker/

## Connect do DB server
mysql -u root -p
## Note, CHANGE the password according TO the actual password you USE
GRANT ALL PRIVILEGES ON *.* TO 'seafile'@'%' IDENTIFIED BY 'your-password' WITH GRANT OPTION;
 
## GRANT seafile USER can CONNECT the DATABASE FROM any IP address
GRANT ALL PRIVILEGES ON `seafile_ccnet_db`.* TO 'seafile'@'%';
GRANT ALL PRIVILEGES ON `seafile_seafile_db`.* TO 'seafile'@'%';
GRANT ALL PRIVILEGES ON `seafile_seahub_db`.* TO 'seafile'@'%';
## Restart MySQL
systemctl restart mariadb