seafile-containerized/compose/docker-compose.yml

61 lines
1.4 KiB
YAML
Raw Normal View History

2021-01-20 01:41:50 +00:00
version: '3.8'
services:
seafile:
image: ggogel/seafile:8.0.2
volumes:
- seafile-data:/shared
2021-01-20 21:22:00 +00:00
- seafile-avatars:/seafile/seahub-data/avatars
- seafile-custom:/seafile/seahub-data/custom
2021-01-20 01:41:50 +00:00
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=db_dev
- TIME_ZONE=Europe/Berlin
- SEAFILE_ADMIN_EMAIL=me@example.com
- SEAFILE_ADMIN_PASSWORD=asecret
- SEAFILE_SERVER_HOSTNAME=seafile.mydomain.com # Mandatory on first deployment!
depends_on:
- db
- memcached
networks:
- seafile-net
seahub-media:
image: ggogel/seahub-media:8.0.2
volumes:
2021-01-20 21:22:00 +00:00
- seafile-avatars:/usr/share/caddy/media/avatars
- seafile-custom:/usr/share/caddy/media/custom
2021-01-20 01:41:50 +00:00
networks:
- seafile-net
db:
image: mariadb:latest
environment:
- MYSQL_ROOT_PASSWORD=db_dev
- MYSQL_LOG_CONSOLE=true
volumes:
- seafile-mariadb:/var/lib/mysql
networks:
- seafile-net
memcached:
image: memcached:latest
entrypoint: memcached -m 1024
networks:
- seafile-net
caddy:
image: ggogel/seafile-caddy
ports:
- 80:80 # Point your reverse proxy to port 80 of this service
networks:
- seafile-net
networks:
seafile-net:
internal: true
volumes:
seafile-data:
2021-01-20 21:22:00 +00:00
seafile-mariadb:
seafile-avatars:
seafile-custom: