2021-01-20 01:41:50 +00:00
|
|
|
version: '3.8'
|
2021-01-22 22:54:58 +00:00
|
|
|
services:
|
|
|
|
seafile-server:
|
|
|
|
image: ggogel/seafile-server:8.0.2
|
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-01-22 22:54:58 +00:00
|
|
|
- HTTPS=false # Set this to true if you plan to use a reverse proxy with HTTPS. Can be changed later in the admin settings on the web-ui.
|
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:
|
|
|
|
image: ggogel/seahub:8.0.2
|
|
|
|
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-01-20 01:41:50 +00:00
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
seahub-media:
|
|
|
|
image: ggogel/seahub-media:8.0.2
|
|
|
|
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-server
|
|
|
|
- db
|
|
|
|
- memcached
|
|
|
|
- seafile-caddy
|
2021-01-20 01:41:50 +00:00
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
db:
|
2021-01-22 22:54:58 +00:00
|
|
|
image: mariadb:10.5.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:
|
2021-01-22 22:54:58 +00:00
|
|
|
image: memcached:1.6.9
|
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-01-24 13:35:05 +00:00
|
|
|
image: ggogel/seafile-caddy:1.0.0
|
2021-01-20 01:41:50 +00:00
|
|
|
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:
|
2021-01-22 23:01:15 +00:00
|
|
|
seahub-avatars:
|
|
|
|
seahub-custom:
|