snapshot of new seafile

This commit is contained in:
2024-12-01 10:54:05 +01:00
parent 220c96b1e5
commit bf5cd881ab
18 changed files with 37 additions and 1127 deletions

View File

@@ -21,11 +21,11 @@ services:
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD}
- MYSQL_LOG_CONSOLE=true
# - MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=1
volumes:
- /opt/seafile-new/db:/var/lib/mysql
- /opt/seafile-new/tmp:/host
# volumes:
# - /opt/seafile-new/tmp:/host
# - /opt/seafile-new/db:/var/lib/mysql
env_file:
- /opt/seafile-new/.env
@@ -35,19 +35,22 @@ services:
entrypoint: memcached -m 256
seafile-server:
image: seafileltd/seafile-mc:11.0-latest
image: seafileltd/seafile-mc:12.0-latest
container_name: seafile-server
ports:
- "12380:80"
volumes:
- /opt/seafile-new/tmp:/host
- /opt/seafile-new/tmp/setup-seafile-mysql.py:/scripts/setup-seafile-mysql.py
- /opt/seafile-new/server:/shared
- /media/sync/seafile:/shared/seafile/seafile-data
- 8100:8000
- 8180:8080
- 8182:8082
# volumes:
# - /opt/seafile-new/tmp:/host
# - /opt/seafile-new/server:/shared
# - /media/sync/seafile:/shared/seafile/seafile-data
environment:
- DB_HOST=seafile-mysql
- DB_ROOT_PASSWD=${SEAFILE_MYSQL_DB_PASSWORD}
- INIT_SEAFILE_MYSQL_ROOT_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD}
- TIME_ZONE=Europe/Amsterdam
# - SEAFILE_SERVER_HOSTNAME=rik.veenboer.xyz
depends_on:
- seafile-mysql
- seafile-memcached