2021-01-20 01:41:50 +00:00
|
|
|
version: '3.8'
|
2021-01-22 22:54:58 +00:00
|
|
|
services:
|
|
|
|
seafile-server:
|
2022-06-23 11:19:54 +00:00
|
|
|
image: ggogel/seafile-server:9.0.6
|
2021-01-20 01:41:50 +00:00
|
|
|
volumes:
|
|
|
|
- seafile-data:/shared
|
|
|
|
environment:
|
|
|
|
- DB_HOST=db
|
|
|
|
- DB_ROOT_PASSWD=db_dev
|
|
|
|
- TIME_ZONE=Europe/Berlin
|
2021-05-17 18:07:59 +00:00
|
|
|
- HTTPS=true
|
2021-01-20 01:41:50 +00:00
|
|
|
- SEAFILE_SERVER_HOSTNAME=seafile.mydomain.com # Mandatory on first deployment!
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- memcached
|
2021-01-22 22:54:58 +00:00
|
|
|
- seafile-caddy
|
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
seahub:
|
2022-06-23 11:19:54 +00:00
|
|
|
image: ggogel/seahub:9.0.6
|
2021-01-22 22:54:58 +00:00
|
|
|
volumes:
|
|
|
|
- seafile-data:/shared
|
2021-01-22 23:01:15 +00:00
|
|
|
- seahub-avatars:/shared/seafile/seahub-data/avatars
|
|
|
|
- seahub-custom:/shared/seafile/seahub-data/custom
|
2021-01-27 23:43:39 +00:00
|
|
|
environment:
|
|
|
|
- SEAFILE_ADMIN_EMAIL=me@example.com
|
|
|
|
- SEAFILE_ADMIN_PASSWORD=asecret
|
2021-01-22 22:54:58 +00:00
|
|
|
depends_on:
|
|
|
|
- seafile-server
|
|
|
|
- seafile-caddy
|
2021-08-26 04:46:55 +00:00
|
|
|
- seahub-media
|
2021-01-20 01:41:50 +00:00
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
seahub-media:
|
2022-06-23 11:19:54 +00:00
|
|
|
image: ggogel/seahub-media:9.0.6
|
2021-01-20 01:41:50 +00:00
|
|
|
volumes:
|
2021-01-22 23:01:15 +00:00
|
|
|
- seahub-avatars:/usr/share/caddy/media/avatars
|
|
|
|
- seahub-custom:/usr/share/caddy/media/custom
|
2021-01-22 22:54:58 +00:00
|
|
|
depends_on:
|
|
|
|
- seafile-caddy
|
2021-01-20 01:41:50 +00:00
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
db:
|
2022-03-30 08:34:03 +00:00
|
|
|
image: mariadb:10.7.3
|
2021-01-20 01:41:50 +00:00
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=db_dev
|
|
|
|
- MYSQL_LOG_CONSOLE=true
|
|
|
|
volumes:
|
|
|
|
- seafile-mariadb:/var/lib/mysql
|
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
memcached:
|
2022-05-13 07:38:59 +00:00
|
|
|
image: memcached:1.6.15
|
2021-01-20 01:41:50 +00:00
|
|
|
entrypoint: memcached -m 1024
|
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
2021-01-22 22:54:58 +00:00
|
|
|
seafile-caddy:
|
2021-11-17 06:52:38 +00:00
|
|
|
image: ggogel/seafile-caddy:1.0.6
|
2021-01-20 01:41:50 +00:00
|
|
|
ports:
|
2021-02-03 15:37:39 +00:00
|
|
|
- "80:80" # Point your reverse proxy to port 80 of this service
|
2021-01-20 01:41:50 +00:00
|
|
|
networks:
|
|
|
|
- seafile-net
|
2021-02-03 16:18:07 +00:00
|
|
|
- default
|
2021-01-20 01:41:50 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
seafile-net:
|
|
|
|
internal: true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
seafile-data:
|
2021-01-20 21:22:00 +00:00
|
|
|
seafile-mariadb:
|
2021-01-22 23:01:15 +00:00
|
|
|
seahub-avatars:
|
|
|
|
seahub-custom:
|