2021-01-20 01:41:50 +00:00
|
|
|
version: '3.8'
|
2021-01-22 22:54:58 +00:00
|
|
|
services:
|
|
|
|
seafile-server:
|
2023-02-23 13:06:29 +00:00
|
|
|
image: ggogel/seafile-server:10.0.0
|
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:
|
2023-02-23 13:06:29 +00:00
|
|
|
image: ggogel/seahub:10.0.0
|
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:
|
2023-02-23 13:06:29 +00:00
|
|
|
image: ggogel/seahub-media:10.0.0
|
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:
|
2023-02-07 04:32:48 +00:00
|
|
|
image: mariadb:10.7.8
|
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:
|
2023-01-12 03:42:49 +00:00
|
|
|
image: memcached:1.6.18
|
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:
|
2023-02-23 14:03:51 +00:00
|
|
|
image: ggogel/seafile-caddy:1.0.8
|
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:
|