Chad
4c24c30526
* Working on getting Reverse Proxy certs to work. * Upgrade mariadb to 10.6. * Checking if anything has missed a check in. * Let's Encrypt is working now after moving the location directive to the conf.d files. Unsure why nginx.conf is not passing it along, so added it to the examples too.
39 lines
873 B
YAML
39 lines
873 B
YAML
# Nextcloud configuration.
|
|
# This is a revised version of the original work here:
|
|
# https://hub.docker.com/_/nextcloud
|
|
|
|
# Changelog:
|
|
# 2023-07-16 Change from mariadb:10.5 to 10.6.
|
|
|
|
version: '2'
|
|
|
|
services:
|
|
db:
|
|
image: mariadb:10.6
|
|
restart: always
|
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
|
volumes:
|
|
- /opt/Docker/Volumes/Nextcloud/mariadb:/var/lib/mysql
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=ChangeMe
|
|
- MYSQL_DATABASE=nextcloud
|
|
- MYSQL_USER=nc
|
|
- MYSQL_PASSWORD=changeme
|
|
|
|
app:
|
|
image: nextcloud
|
|
restart: always
|
|
ports:
|
|
- 8080:80
|
|
links:
|
|
- db
|
|
volumes:
|
|
- /opt/Docker/Volumes/Nextcloud/nextcloud:/var/www/html
|
|
environment:
|
|
- MYSQL_DATABASE=nextcloud
|
|
- MYSQL_USER=nc
|
|
- MYSQL_PASSWORD=changeme
|
|
- MYSQL_HOST=db
|
|
- PHP_UPLOAD_LIMIT=5G
|
|
|