2022-08-06 07:52:11 -05:00
|
|
|
# Nextcloud configuration.
|
2023-07-23 14:51:48 -07:00
|
|
|
# This is a revised version of the original work here:
|
2022-08-06 07:52:11 -05:00
|
|
|
# https://hub.docker.com/_/nextcloud
|
|
|
|
|
2023-07-21 22:23:46 -07:00
|
|
|
# Changelog:
|
|
|
|
# 2023-07-16 Change from mariadb:10.5 to 10.6.
|
|
|
|
|
2022-08-06 07:52:11 -05:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
2023-07-21 22:23:46 -07:00
|
|
|
image: mariadb:10.6
|
2022-08-06 07:52:11 -05:00
|
|
|
restart: always
|
|
|
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
|
|
|
volumes:
|
2023-07-23 14:51:48 -07:00
|
|
|
- ../../Volumes/Nextcloud/mariadb:/var/lib/mysql
|
2022-08-06 07:52:11 -05:00
|
|
|
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:
|
2023-07-23 14:51:48 -07:00
|
|
|
- ../../Volumes/Nextcloud/nextcloud:/var/www/html
|
2022-08-06 07:52:11 -05:00
|
|
|
environment:
|
|
|
|
- MYSQL_DATABASE=nextcloud
|
|
|
|
- MYSQL_USER=nc
|
|
|
|
- MYSQL_PASSWORD=changeme
|
|
|
|
- MYSQL_HOST=db
|
|
|
|
- PHP_UPLOAD_LIMIT=5G
|