version: '3' services: mariadb: container_name: mariadbnextcloud image: mariadb command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF restart: always volumes: - /volume1/docker/nextcloudatabase:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD=xxxxxxxxxxxxxxxxxxx - MYSQL_PASSWORD=xxxxxxxxxxxxxxxxxxx@@ddd - MYSQL_DATABASE=nextcloudatabaseuser - MYSQL_USER=nextclouduserdatabase nextcloud: container_name: nextcloud ports: - 18000:80 depends_on: - mariadb environment: - PUID=1027 - PGID=100 - TZ=Europe/Madrid volumes: - /volume1/docker/nextcloud/html:/var/www/html - /volume1/docker/nextcloud/custom_apps:/var/www/html/custom_apps - /volume1/docker/nextcloud/config:/var/www/html/config - /volume1/docker/nextcloud/data:/var/www/html/data - /volume1/docker/nextcloud/themes:/var/www/html/themes/ image: nextcloud restart: always volumes: mariadb: # nextcloud