This commit is contained in:
zino
2025-12-31 13:03:11 +01:00
parent 0dd23cd333
commit 4869a846b7

View File

@@ -1,3 +1,5 @@
version: "3.8"
services:
seafile:
image: seafileltd/seafile-mc:13.0-latest
@@ -10,6 +12,10 @@ services:
- INIT_SEAFILE_MYSQL_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
- SEAFILE_MYSQL_DB_USER=seafile
- SEAFILE_MYSQL_DB_PASSWORD=Fk%Bysffpw5ob2t@
- CACHE_PROVIDER=redis
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_PASSWORD=
- TIME_ZONE=Europe/Berlin
- SEAFILE_ADMIN_EMAIL=acc@zinomedia.de
- SEAFILE_ADMIN_PASSWORD=&u4irA*F5PJ8Yxxx
@@ -18,11 +24,12 @@ services:
- FORCE_HTTPS_IN_CONF=true
depends_on:
- db
- redis
- memcached
networks:
- web
db: # referenced by that name in seafile configs / example
db:
image: mariadb:12
container_name: seafile-mariadb
restart: unless-stopped
@@ -35,11 +42,13 @@ services:
networks:
- web
memcached: # referenced by that name in seafile configs / example
image: memcached:latest
container_name: seafile-memcached
redis:
image: redis:7-alpine
container_name: seafile-redis
restart: unless-stopped
entrypoint: memcached -m 256
command: ["redis-server", "--appendonly", "yes"]
volumes:
- ./volumes/seafile-redis:/data
networks:
- web