docker-compose.yml hinzugefügt
Die Docker-Compose.yml ist zum Starten des Nextcloud Containers, zum ordnungsgemäßen start startet es diese Dienste: MariaDB(Datenbank), Redis(Cache-System), Nextcloud(die eigentliche Cloud), Push(Benachichtigungsservice), OnlyOffice(gemeinsames Dokumentenbearbeitungsprogramm), Signaling(Hochleistungsbackend für Nextcloud Talk)
This commit is contained in:
69
docker-compose.yml
Normal file
69
docker-compose.yml
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mariadb:10.11
|
||||||
|
restart: always
|
||||||
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
|
volumes:
|
||||||
|
- ./db:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=ROOT_DEIN_PASSWORT
|
||||||
|
- MYSQL_PASSWORD=NC_DB_DEIN_PASSWORT
|
||||||
|
- MYSQL_DATABASE=nextcloud
|
||||||
|
- MYSQL_USER=nextcloud
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:alpine
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
app:
|
||||||
|
image: nextcloud:latest
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
- redis
|
||||||
|
environment:
|
||||||
|
- MYSQL_HOST=db
|
||||||
|
- MYSQL_PASSWORD=NC_DB_DEIN_PASSWORT
|
||||||
|
- MYSQL_DATABASE=nextcloud
|
||||||
|
- MYSQL_USER=nextcloud
|
||||||
|
- REDIS_HOST=redis
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/www/html
|
||||||
|
- ./config:/var/www/html/config
|
||||||
|
|
||||||
|
push:
|
||||||
|
image: nextcloud:latest
|
||||||
|
restart: always
|
||||||
|
entrypoint: /var/www/html/custom_apps/notify_push/bin/x86_64/notify_push
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/www/html
|
||||||
|
- ./config:/var/www/html/config
|
||||||
|
environment:
|
||||||
|
- PORT=7867
|
||||||
|
depends_on:
|
||||||
|
- app
|
||||||
|
|
||||||
|
onlyoffice:
|
||||||
|
image: onlyoffice/documentserver:latest
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8081:80"
|
||||||
|
environment:
|
||||||
|
- JWT_ENABLED=true
|
||||||
|
- JWT_SECRET=JWT_DEIN_PASSWORT
|
||||||
|
volumes:
|
||||||
|
- ./oo_data:/var/www/onlyoffice/Data
|
||||||
|
- ./oo_log:/var/log/onlyoffice
|
||||||
|
|
||||||
|
signaling:
|
||||||
|
image: fluiddot/nextcloud-talk-signaling:latest
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- SIGNALING_SECRET=SIGNAL_DEIN_PASSWORT
|
||||||
|
- NEXTCLOUD_URL=https://cloud.deinedomain.de
|
||||||
|
ports:
|
||||||
|
- "8082:8080"
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
Reference in New Issue
Block a user