seafile-containerized/compose/docker-compose.yml

79 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2023-10-19 08:17:51 +00:00
version: '3.8'
services:
seafile-server:
2023-11-20 09:58:04 +00:00
image: ggogel/seafile-server:11.0.2
2023-10-19 08:17:51 +00:00
volumes:
- seafile-data:/shared
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=db_dev
- TIME_ZONE=Europe/Berlin
- HTTPS=true
- SEAFILE_URL=seafile.mydomain.com # Mandatory on first deployment!
2023-10-19 08:17:51 +00:00
depends_on:
- db
- memcached
- seafile-caddy
networks:
- seafile-net
seahub:
2023-11-20 09:58:04 +00:00
image: ggogel/seahub:11.0.2
2023-10-19 08:17:51 +00:00
volumes:
- seafile-data:/shared
- seahub-avatars:/shared/seafile/seahub-data/avatars
- seahub-custom:/shared/seafile/seahub-data/custom
environment:
- SEAFILE_ADMIN_EMAIL=me@example.com
- SEAFILE_ADMIN_PASSWORD=asecret
depends_on:
- seafile-server
- seafile-caddy
- seahub-media
networks:
- seafile-net
seahub-media:
2023-11-20 09:58:04 +00:00
image: ggogel/seahub-media:11.0.2
2023-10-19 08:17:51 +00:00
volumes:
- seahub-avatars:/usr/share/caddy/media/avatars
- seahub-custom:/usr/share/caddy/media/custom
depends_on:
- seafile-caddy
networks:
- seafile-net
db:
2023-11-16 04:20:22 +00:00
image: mariadb:10.11.6
2023-10-19 08:17:51 +00:00
environment:
- MYSQL_ROOT_PASSWORD=db_dev
- MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=true
volumes:
- seafile-mariadb:/var/lib/mysql
networks:
- seafile-net
memcached:
image: memcached:1.6.22
entrypoint: memcached -m 1024
networks:
- seafile-net
seafile-caddy:
image: ggogel/seafile-caddy:2.7.5
ports:
- "80:80" # Point your reverse proxy to port 80 of this service
networks:
- seafile-net
- default
networks:
seafile-net:
internal: true
volumes:
seafile-data:
seafile-mariadb:
seahub-avatars:
2021-01-22 23:01:15 +00:00
seahub-custom: