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