Files
docker-seafile/docker-compose.yml
2023-12-03 13:57:21 +01:00

48 lines
1.2 KiB
YAML

version: "3.8"
services:
seafile:
image: seafileltd/seafile-mc:latest
container_name: seafile
restart: "on-failure"
volumes:
- ./volumes/seafile-data:/shared
environment:
- DB_HOST=seafile-mariadb
- DB_ROOT_PASSWD=Fk%Bysffpw5ob2t@
- TIME_ZONE=Europe/Berlin
- SEAFILE_ADMIN_EMAIL=acc@zinomedia.de
- SEAFILE_ADMIN_PASSWORD=&u4irA*F5PJ8YRdd
- SEAFILE_SERVER_LETSENCRYPT=false
- SEAFILE_SERVER_HOSTNAME=seafile.zinomedia.de
- FORCE_HTTPS_IN_CONF=true
depends_on:
- db
- memcached
networks:
- web
db: # as is is referenced by that name in seafile configs / example
image: mariadb:latest
container_name: seafile-mariadb
restart: "on-failure"
environment:
- MYSQL_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
- MYSQL_LOG_CONSOLE=true
volumes:
- ./volumes/seafile-mariadb/db:/var/lib/mysql
networks:
- web
memcached: # as is is referenced by that name in seafile configs / example
image: memcached:latest
container_name: seafile-memcached
restart: "on-failure"
entrypoint: memcached -m 256
networks:
- web
networks:
web:
external: true
name: web