This commit is contained in:
zino
2025-12-31 12:17:55 +01:00
parent 2b66d5ff1a
commit 6cadcb8ffc

View File

@@ -1,13 +1,12 @@
version: "3.8"
services:
seafile:
image: seafileltd/seafile-mc:latest
image: seafileltd/seafile-mc:13.0-latest
container_name: seafile
restart: "on-failure"
restart: unless-stopped
volumes:
- ./volumes/seafile-data:/shared
environment:
- DB_HOST=seafile-mariadb
- DB_HOST=db
- DB_ROOT_PASSWD=Fk%Bysffpw5ob2t@
- TIME_ZONE=Europe/Berlin
- SEAFILE_ADMIN_EMAIL=acc@zinomedia.de
@@ -21,22 +20,23 @@ services:
networks:
- web
db: # as is is referenced by that name in seafile configs / example
image: mariadb:latest
db: # referenced by that name in seafile configs / example
image: mariadb:12
container_name: seafile-mariadb
restart: "on-failure"
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
- MARIADB_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
- MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=1
volumes:
- ./volumes/seafile-mariadb/db:/var/lib/mysql
networks:
- web
memcached: # as is is referenced by that name in seafile configs / example
memcached: # referenced by that name in seafile configs / example
image: memcached:latest
container_name: seafile-memcached
restart: "on-failure"
restart: unless-stopped
entrypoint: memcached -m 256
networks:
- web