Nextcloud
Services
MariaDB
Env
Volumes
Command
-
--transaction-isolation=READ-COMMITTED --binlog-format=ROW
Nextcloud
Env
- APACHE_DISABLE_REWRITE_IP
- OVERWRITEHOST
- OVERWRITEPROTOCOL
- OVERWRITEWEBROOT
- PHP_MEMORY_LIMIT
- PHP_UPLOAD_LIMIT
- TRUSTED_PROXIES
- PGID
- PUID
- TZ
Volumes
- /var/www/html
- /var/www/html/data
Stack
version: '3'
services:
db:
image: mariadb:10.5
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
networks:
- nextcloud_network
app:
depends_on:
- db
image: nextcloud:latest
restart: always
volumes:
- config:/var/www/html
- ${NEXTCLOUD_DATA_PATH}:/var/www/html/data
environment:
APACHE_DISABLE_REWRITE_IP: 1
OVERWRITEHOST: nextcloud.mydomain.fr
OVERWRITEPROTOCOL: https
OVERWRITEWEBROOT: /
PHP_MEMORY_LIMIT: 4G
PHP_UPLOAD_LIMIT: 10G
TRUSTED_PROXIES: IPV4 Gateway - 10.0.3.1
PGID: ${PGID}
PUID: ${PUID}
TZ: ${TZ}
networks:
- proxy_network
- nextcloud_network
volumes:
config:
mariadb:
networks:
proxy_network:
external: true
nextcloud_network: