m
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
version: "3.8"
|
|
||||||
services:
|
services:
|
||||||
seafile:
|
seafile:
|
||||||
image: seafileltd/seafile-mc:latest
|
image: seafileltd/seafile-mc:13.0-latest
|
||||||
container_name: seafile
|
container_name: seafile
|
||||||
restart: "on-failure"
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/seafile-data:/shared
|
- ./volumes/seafile-data:/shared
|
||||||
environment:
|
environment:
|
||||||
- DB_HOST=seafile-mariadb
|
- DB_HOST=db
|
||||||
- DB_ROOT_PASSWD=Fk%Bysffpw5ob2t@
|
- DB_ROOT_PASSWD=Fk%Bysffpw5ob2t@
|
||||||
- TIME_ZONE=Europe/Berlin
|
- TIME_ZONE=Europe/Berlin
|
||||||
- SEAFILE_ADMIN_EMAIL=acc@zinomedia.de
|
- SEAFILE_ADMIN_EMAIL=acc@zinomedia.de
|
||||||
@@ -21,22 +20,23 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
db: # as is is referenced by that name in seafile configs / example
|
db: # referenced by that name in seafile configs / example
|
||||||
image: mariadb:latest
|
image: mariadb:12
|
||||||
container_name: seafile-mariadb
|
container_name: seafile-mariadb
|
||||||
restart: "on-failure"
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
|
- MARIADB_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
|
||||||
- MYSQL_LOG_CONSOLE=true
|
- MYSQL_LOG_CONSOLE=true
|
||||||
|
- MARIADB_AUTO_UPGRADE=1
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/seafile-mariadb/db:/var/lib/mysql
|
- ./volumes/seafile-mariadb/db:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
memcached: # as is is referenced by that name in seafile configs / example
|
memcached: # referenced by that name in seafile configs / example
|
||||||
image: memcached:latest
|
image: memcached:latest
|
||||||
container_name: seafile-memcached
|
container_name: seafile-memcached
|
||||||
restart: "on-failure"
|
restart: unless-stopped
|
||||||
entrypoint: memcached -m 256
|
entrypoint: memcached -m 256
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|||||||
Reference in New Issue
Block a user