seafile-containerized/compose/docker-compose.yml

79 lines
1.8 KiB
YAML
Raw Permalink 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:
2023-10-18 13:26:31 +00:00
image: ggogel/seafile-server:11.0.1
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-10-18 13:26:31 +00:00
image: ggogel/seahub:11.0.1
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-08-26 04:46:55 +00:00
- seahub-media
2021-01-20 01:41:50 +00:00
networks:
- seafile-net
seahub-media:
2023-10-18 13:26:31 +00:00
image: ggogel/seahub-media:11.0.1
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-08-15 04:31:08 +00:00
image: mariadb:10.11.5
2021-01-20 01:41:50 +00:00
environment:
- MYSQL_ROOT_PASSWORD=db_dev
- MYSQL_LOG_CONSOLE=true
2023-04-20 11:41:06 +00:00
- MARIADB_AUTO_UPGRADE=true
2021-01-20 01:41:50 +00:00
volumes:
- seafile-mariadb:/var/lib/mysql
networks:
- seafile-net
memcached:
2023-10-18 02:04:15 +00:00
image: memcached:1.6.22
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:
image: ggogel/seafile-caddy:2.7.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: