|
@@ -0,0 +1,51 @@
|
|
|
+version: '3'
|
|
|
+services:
|
|
|
+ nextcloud:
|
|
|
+ image: nexus.sebastianfisahn.com/nextcloud:28.0.2
|
|
|
+ environment:
|
|
|
+ APC_SHM_SIZE: 256M
|
|
|
+ CRON_PERIOD: 15m
|
|
|
+ DB_HOST: nextcloud-db
|
|
|
+ DB_NAME: nextcloud
|
|
|
+ DB_PASSWORD: qT2QyZGcJ6KPfnph
|
|
|
+ DB_TYPE: mysql
|
|
|
+ DB_USER: nextcloud
|
|
|
+ DOMAIN: localhost
|
|
|
+ GID: '1000'
|
|
|
+ OPCACHE_MEM_SIZE: '256'
|
|
|
+ REDIS_HOST: redis
|
|
|
+ REDIS_HOST_PORT: '6379'
|
|
|
+ TZ: Europe/Berlin
|
|
|
+ UID: '1000'
|
|
|
+ UPLOAD_MAX_SIZE: 10G
|
|
|
+ volumes:
|
|
|
+ - /mnt/volume-data/nextcloud1/data:/nextcloud/data
|
|
|
+ - /mnt/volume-data/nextcloud1/config:/nextcloud/config
|
|
|
+ - /mnt/volume-data/nextcloud1/apps2:/nextcloud/apps2
|
|
|
+ - /mnt/volume-data/nextcloud1/themes:/nextcloud/themes
|
|
|
+ domainname: nextcloud.sebastianfisahn.com
|
|
|
+ links:
|
|
|
+ - nextcloud-db:nextcloud
|
|
|
+ - redis:redis
|
|
|
+ ports:
|
|
|
+ - 8888:8888/tcp
|
|
|
+ nextcloud-db:
|
|
|
+
|
|
|
+ image: mariadb:latest
|
|
|
+ environment:
|
|
|
+ MYSQL_DATABASE: nextcloud
|
|
|
+ MYSQL_PASSWORD: qT2QyZGcJ6KPfnph
|
|
|
+ MYSQL_ROOT_PASSWORD: root
|
|
|
+ MYSQL_USER: nextcloud
|
|
|
+ volumes:
|
|
|
+ - /mnt/volume-data/nextcloud-db/db:/var/lib/mysql
|
|
|
+ command:
|
|
|
+ - --transaction-isolation=READ-COMMITTED
|
|
|
+ - --binlog-format=ROW
|
|
|
+ - --log-bin=ib_logfile
|
|
|
+ - --character-set-server=utf8
|
|
|
+ redis:
|
|
|
+ image: redis:alpine
|
|
|
+ stdin_open: true
|
|
|
+ volumes:
|
|
|
+ - /mnt/volume-data/nextcloud1/redis:/data
|