An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Feat: Nextcloud MariaDB and MySQL versions
peaklabs-dev1ddfbaa9d5f0
diff --git a/templates/compose/nextcloud-with-mariadb.yaml b/templates/compose/nextcloud-with-mariadb.yamlnew file mode 100644index 0000000000..5cab4f0bbc--- /dev/null+++ b/templates/compose/nextcloud-with-mariadb.yaml@@ -0,0 +1,61 @@+# documentation: https://docs.nextcloud.com+# slogan: NextCloud is a self-hosted, open-source platform that provides file storage, collaboration, and communication tools for seamless data management.+# tags: cloud, collaboration, communication, filestorage, data+# logo: svgs/nextcloud.svg+# port: 80++services:+ nextcloud:+ image: lscr.io/linuxserver/nextcloud:latest+ environment:+ - SERVICE_FQDN_NEXTCLOUD_80+ - PUID=1000+ - PGID=1000+ - TZ=${TZ:-Europe/Paris}+ - MYSQL_DATABASE=${MARIADB_DATABASE:-nextcloud}+ - MYSQL_USER=${SERVICE_USER_MARIADB}+ - MYSQL_PASSWORD=${SERVICE_PASSWORD_MARIADB}+ - MYSQL_HOST=nextcloud-db+ - REDIS_HOST=redis+ - REDIS_PORT=6379+ volumes:+ - nextcloud-config:/config+ - nextcloud-data:/data+ depends_on:+ nextcloud-db:+ condition: service_healthy+ redis:+ condition: service_healthy+ healthcheck:+ test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]+ interval: 2s+ timeout: 10s+ retries: 15++ nextcloud-db:+ image: mariadb:11+ volumes:+ - nextcloud-mariadb-data:/var/lib/mysql+ environment:+ - MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_ROOT}+ - MYSQL_DATABASE=${MARIADB_DATABASE:-nextcloud}+ - MYSQL_USER=${SERVICE_USER_MARIADB}+ - MYSQL_PASSWORD=${SERVICE_PASSWORD_MARIADB}+ healthcheck:+ test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]+ interval: 5s+ timeout: 20s+ retries: 10++ redis:+ image: "redis:7.4-alpine"+ volumes:+ - "nextcloud-redis-data:/data"+ healthcheck:+ test:+ - CMD+ - redis-cli+ - PING+ interval: 5s+ timeout: 10s+ retries: 20diff --git a/templates/compose/nextcloud-with-mysql.yaml b/templates/compose/nextcloud-with-mysql.yamlnew file mode 100644index 0000000000..f8f6b972fa--- /dev/null+++ b/templates/compose/nextcloud-with-mysql.yaml@@ -0,0 +1,61 @@+# documentation: https://docs.nextcloud.com+# slogan: NextCloud is a self-hosted, open-source platform that provides file storage, collaboration, and communication tools for seamless data management.+# tags: cloud, collaboration, communication, filestorage, data+# logo: svgs/nextcloud.svg+# port: 80++services:+ nextcloud:+ image: lscr.io/linuxserver/nextcloud:latest+ environment:+ - SERVICE_FQDN_NEXTCLOUD_80+ - PUID=1000+ - PGID=1000+ - TZ=${TZ:-Europe/Paris}+ - MYSQL_DATABASE=${MYSQL_DATABASE:-nextcloud}+ - MYSQL_USER=${SERVICE_USER_MYSQL}+ - MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL}+ - MYSQL_HOST=nextcloud-db+ - REDIS_HOST=redis+ - REDIS_PORT=6379+ volumes:+ - nextcloud-config:/config+ - nextcloud-data:/data+ depends_on:+ nextcloud-db:+ condition: service_healthy+ redis:+ condition: service_healthy+ healthcheck:+ test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]+ interval: 2s+ timeout: 10s+ retries: 15++ nextcloud-db:+ image: mysql:8.4.2+ volumes:+ - nextcloud-mysql-data:/var/lib/mysql+ environment:+ - MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_ROOT}+ - MYSQL_DATABASE=${MYSQL_DATABASE:-nextcloud}+ - MYSQL_USER=${SERVICE_USER_MYSQL}+ - MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL}+ healthcheck:+ test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1"]+ interval: 5s+ timeout: 20s+ retries: 10++ redis:+ image: "redis:7.4-alpine"+ volumes:+ - "nextcloud-redis-data:/data"+ healthcheck:+ test:+ - CMD+ - redis-cli+ - PING+ interval: 5s+ timeout: 10s+ retries: 20