upgrade seafile to 13

This commit is contained in:
2025-12-07 12:00:45 +01:00
parent b751fa5c5a
commit b07a44543e
8 changed files with 28 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
services:
seafile-mysql:
image: mariadb:10.11
image: mariadb:11.8.5
container_name: seafile-mysql
ports:
- "13306:3306"
@@ -24,24 +24,42 @@ services:
timeout: 5s
retries: 10
seafile-redis:
image: redis:8.4.0
container_name: seafile-redis
ports:
- "6379:6379"
restart: unless-stopped
command:
- /bin/sh
- -c
- redis-server --requirepass "$$REDIS_PASSWORD"
environment:
- REDIS_PASSWORD=redis
seafile-server:
image: seafileltd/seafile-mc:12.0-latest
image: seafileltd/seafile-mc:13.0-latest
container_name: seafile-server
ports:
- "8082:80"
volumes:
- /opt/seafile/server:/shared
- /opt/seafile/server:/shared/seafile
- /media/sync/seafile:/shared/seafile/seafile-data
environment:
- DB_HOST=seafile-mysql
- DB_PORT=3306
- DB_ROOT_PASSWD=ROOT_PASSWORD
- DB_PASSWORD=PASSWORD
- TIME_ZONE=Europe/Amsterdam
- INIT_SEAFILE_ADMIN_EMAIL=admin@veenboer.xyz
- INIT_SEAFILE_ADMIN_PASSWORD=asecret
- JWT_PRIVATE_KEY=8LzWzeuQ41z1i8fc1cr1L7Kw80VpTgmT
- SEAFILE_SERVER_HOSTNAME=seafile.rik.veenboer.xyz
- SEAFILE_SERVER_PROTOCOL=https
- JWT_PRIVATE_KEY=8LzWzeuQ41z1i8fc1cr1L7Kw80VpTgmT
- SEAFILE_MYSQL_DB_PORT=3306
- SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile_db
- SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=seahub_db
- SEAFILE_MYSQL_DB_CCNET_DB_NAME=ccnet_db
- SEAFILE_MYSQL_DB_HOST=seafile-mysql
- SEAFILE_MYSQL_DB_USER=seafile
- SEAFILE_MYSQL_DB_PASSWORD=PASSWORD
- REDIS_HOST=seafile-redis
- REDIS_PORT=6379
- REDIS_PASSWORD=redis
depends_on:
- seafile-mysql
- seafile-redis