57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
services:
|
|
seafile:
|
|
image: seafileltd/seafile-mc:13.0-latest
|
|
container_name: seafile
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./volumes/seafile-data:/shared
|
|
environment:
|
|
- SEAFILE_MYSQL_DB_HOST=db
|
|
- 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
|
|
- SEAFILE_SERVER_LETSENCRYPT=false
|
|
- SEAFILE_SERVER_HOSTNAME=seafile.zinomedia.de
|
|
- FORCE_HTTPS_IN_CONF=true
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
- memcached
|
|
networks:
|
|
- web
|
|
|
|
db:
|
|
image: mariadb:12
|
|
container_name: seafile-mariadb
|
|
restart: unless-stopped
|
|
environment:
|
|
- MARIADB_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
|
|
- MYSQL_LOG_CONSOLE=true
|
|
- MARIADB_AUTO_UPGRADE=1
|
|
volumes:
|
|
- ./volumes/seafile-mariadb/db:/var/lib/mysql
|
|
networks:
|
|
- web
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: seafile-redis
|
|
restart: unless-stopped
|
|
command: ["redis-server", "--appendonly", "yes"]
|
|
volumes:
|
|
- ./volumes/seafile-redis:/data
|
|
networks:
|
|
- web
|
|
|
|
networks:
|
|
web:
|
|
external: true
|
|
name: web
|