seafile-containerized/compose/docker-compose.yml

81 lines
1.9 KiB
YAML
Raw Normal View History

2021-01-20 01:41:50 +00:00
version: '3.8'
2021-01-22 22:54:58 +00:00
services:
seafile-server:
2021-08-25 15:20:16 +00:00
image: ggogel/seafile-server:8.0.7
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
- SEAFILE_SERVER_LETSENCRYPT=true # 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:
2021-08-25 15:20:16 +00:00
image: ggogel/seahub:8.0.7
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
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:
2021-08-25 15:20:16 +00:00
image: ggogel/seahub-media:8.0.7
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-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-05-19 08:22:09 +00:00
image: ggogel/seafile-caddy:1.0.4
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
- 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: