mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
update docker-compose.yml
This commit is contained in:
parent
a4d13d67d4
commit
38790b6279
|
@ -1,21 +1,33 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
seafile:
|
seafile-server:
|
||||||
image: ggogel/seafile:8.0.2
|
image: ggogel/seafile-server:8.0.2
|
||||||
volumes:
|
volumes:
|
||||||
- seafile-data:/shared
|
- seafile-data:/shared
|
||||||
- seafile-avatars:/seafile/seahub-data/avatars
|
|
||||||
- seafile-custom:/seafile/seahub-data/custom
|
|
||||||
environment:
|
environment:
|
||||||
- DB_HOST=db
|
- DB_HOST=db
|
||||||
- DB_ROOT_PASSWD=db_dev
|
- DB_ROOT_PASSWD=db_dev
|
||||||
- TIME_ZONE=Europe/Berlin
|
- TIME_ZONE=Europe/Berlin
|
||||||
- SEAFILE_ADMIN_EMAIL=me@example.com
|
- SEAFILE_ADMIN_EMAIL=me@example.com
|
||||||
- SEAFILE_ADMIN_PASSWORD=asecret
|
- SEAFILE_ADMIN_PASSWORD=asecret
|
||||||
|
- 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.
|
||||||
- SEAFILE_SERVER_HOSTNAME=seafile.mydomain.com # Mandatory on first deployment!
|
- SEAFILE_SERVER_HOSTNAME=seafile.mydomain.com # Mandatory on first deployment!
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- memcached
|
- memcached
|
||||||
|
- seafile-caddy
|
||||||
|
networks:
|
||||||
|
- seafile-net
|
||||||
|
|
||||||
|
seahub:
|
||||||
|
image: ggogel/seahub:8.0.2
|
||||||
|
volumes:
|
||||||
|
- seafile-data:/shared
|
||||||
|
- seafile-avatars:/shared/seafile/seahub-data/avatars
|
||||||
|
- seafile-custom:/shared/seafile/seahub-data/custom
|
||||||
|
depends_on:
|
||||||
|
- seafile-server
|
||||||
|
- seafile-caddy
|
||||||
networks:
|
networks:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
|
|
||||||
|
@ -24,11 +36,16 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- seafile-avatars:/usr/share/caddy/media/avatars
|
- seafile-avatars:/usr/share/caddy/media/avatars
|
||||||
- seafile-custom:/usr/share/caddy/media/custom
|
- seafile-custom:/usr/share/caddy/media/custom
|
||||||
|
depends_on:
|
||||||
|
- seafile-server
|
||||||
|
- db
|
||||||
|
- memcached
|
||||||
|
- seafile-caddy
|
||||||
networks:
|
networks:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb:latest
|
image: mariadb:10.5.8
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=db_dev
|
- MYSQL_ROOT_PASSWORD=db_dev
|
||||||
- MYSQL_LOG_CONSOLE=true
|
- MYSQL_LOG_CONSOLE=true
|
||||||
|
@ -38,13 +55,13 @@ services:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
image: memcached:latest
|
image: memcached:1.6.9
|
||||||
entrypoint: memcached -m 1024
|
entrypoint: memcached -m 1024
|
||||||
networks:
|
networks:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
|
|
||||||
caddy:
|
seafile-caddy:
|
||||||
image: ggogel/seafile-caddy
|
image: ggogel/seafile-caddy:0.1
|
||||||
ports:
|
ports:
|
||||||
- 80:80 # Point your reverse proxy to port 80 of this service
|
- 80:80 # Point your reverse proxy to port 80 of this service
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in a new issue