Hallo together,
have a functionally NX Installation, realised with debian and docker-compose with the following things:
Nextcloud
Database
Redis Server (cant test it, if its working)
collabora (cant use it)
caddy Webserver (extra Container)
docker-compose.yml
version: '3'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
container_name: nextcloud_db3
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- /docker/nextcloud3/db:/var/lib/mysql
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- MYSQL_ROOT_PASSWORD=PW
- MYSQL_PASSWORD=PW
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
redis:
image: redis
container_name: nextcloud_redis3
restart: always
volumes:
- ./redis:/data
command: redis-server --requirepass PW
collabora:
image: collabora/code
depends_on:
- app
container_name: nextcloud_collabora
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- password=PW
- username=nextcloud
- extra_params=--o:ssl.enable=true
cap_add:
- MKNOD
ports:
- 9980:9980
app:
image: nextcloud:latest
container_name: nextcloud3
restart: always
ports:
- 1002:80
links:
- db
- redis
volumes:
- ./html:/var/www/html
- ./custom_apps:/var/www/html/custom_apps
- ./config:/var/www/html/config
- ./data:/var/www/html/data
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- MYSQL_PASSWORD=PW
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- REDIS_HOST_PASSWORD=PW
- PHP_MEMORY_LIMIT=2048M
- PHP_UPLOAD_LIMIT=2048M
- REDIS_HOST=redis
depends_on:
- db
- redis
caddy config
caddy.domain.de {
root * /usr/share/caddy
file_server
test02.domain.de {
reverse_proxy 192.168.188.35:1002
redir /.well-known/carddav /remote.php/carddav 301
redir /.well-known/caldav /remote.php/caldav 301
# "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds.
header Strict-Transport-Security "max-age=63072000"
}
test03.domain.de {
reverse_proxy 192.168.188.35:1003
}
What I would like to achieve:
- Have the language in German directly during installation, parameters may not be correct?
- Check Redis function?
- Get Collabora to work so that I can edit files online or from Nextcloud
- Possible general improvements to my instance
- Cronjob is not running, unfortunately I can’t find a solution, do I have to do this outside the Nextcloud container?
- config directly from the docker-compose possible, e.g. phone region or mail address?
I hope you can help me with some points.
Please ask if you have any questions