m
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
seafile:
|
seafile:
|
||||||
image: seafileltd/seafile-mc:13.0-latest
|
image: seafileltd/seafile-mc:13.0-latest
|
||||||
@@ -10,6 +12,10 @@ services:
|
|||||||
- INIT_SEAFILE_MYSQL_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
|
- INIT_SEAFILE_MYSQL_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
|
||||||
- SEAFILE_MYSQL_DB_USER=seafile
|
- SEAFILE_MYSQL_DB_USER=seafile
|
||||||
- SEAFILE_MYSQL_DB_PASSWORD=Fk%Bysffpw5ob2t@
|
- SEAFILE_MYSQL_DB_PASSWORD=Fk%Bysffpw5ob2t@
|
||||||
|
- CACHE_PROVIDER=redis
|
||||||
|
- REDIS_HOST=redis
|
||||||
|
- REDIS_PORT=6379
|
||||||
|
- REDIS_PASSWORD=
|
||||||
- TIME_ZONE=Europe/Berlin
|
- TIME_ZONE=Europe/Berlin
|
||||||
- SEAFILE_ADMIN_EMAIL=acc@zinomedia.de
|
- SEAFILE_ADMIN_EMAIL=acc@zinomedia.de
|
||||||
- SEAFILE_ADMIN_PASSWORD=&u4irA*F5PJ8Yxxx
|
- SEAFILE_ADMIN_PASSWORD=&u4irA*F5PJ8Yxxx
|
||||||
@@ -18,11 +24,12 @@ services:
|
|||||||
- FORCE_HTTPS_IN_CONF=true
|
- FORCE_HTTPS_IN_CONF=true
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
- redis
|
||||||
- memcached
|
- memcached
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
db: # referenced by that name in seafile configs / example
|
db:
|
||||||
image: mariadb:12
|
image: mariadb:12
|
||||||
container_name: seafile-mariadb
|
container_name: seafile-mariadb
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -35,11 +42,13 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
memcached: # referenced by that name in seafile configs / example
|
redis:
|
||||||
image: memcached:latest
|
image: redis:7-alpine
|
||||||
container_name: seafile-memcached
|
container_name: seafile-redis
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
entrypoint: memcached -m 256
|
command: ["redis-server", "--appendonly", "yes"]
|
||||||
|
volumes:
|
||||||
|
- ./volumes/seafile-redis:/data
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user