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
fix nextcloud postgres
peaklabs-dev3ba76c506800
diff --git a/templates/compose/nextcloud-with-postgres.yaml b/templates/compose/nextcloud-with-postgres.yamlindex 15a2c97b67..7adebf71cf 100644--- a/templates/compose/nextcloud-with-postgres.yaml+++ b/templates/compose/nextcloud-with-postgres.yaml@@ -2,42 +2,50 @@# 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: 80services:nextcloud:image: lscr.io/linuxserver/nextcloud:latestenvironment:- - SERVICE_FQDN_NEXTCLOUD+ - SERVICE_FQDN_NEXTCLOUD_80- PUID=1000- PGID=1000- - TZ=Europe/Paris+ - TZ=${TZ:-Europe/Paris}- POSTGRES_DB=${POSTGRES_DB:-nextcloud}- - POSTGRES_USER=$SERVICE_USER_POSTGRES- - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES- - POSTGRES_HOST=postgresql+ - POSTGRES_USER=${SERVICE_USER_POSTGRES}+ - POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}+ - POSTGRES_HOST=nextcloud-db- REDIS_HOST=redis- REDIS_PORT=6379volumes:- nextcloud-config:/config- nextcloud-data:/data+ depends_on:+ nextcloud-db:+ condition: service_healthy+ redis:+ condition: service_healthyhealthcheck:test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]interval: 2stimeout: 10sretries: 15- postgresql:++ nextcloud-db:image: postgres:16-alpinevolumes:- postgresql-data:/var/lib/postgresql/dataenvironment:- - POSTGRES_USER=$SERVICE_USER_POSTGRES- - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES+ - POSTGRES_USER=${SERVICE_USER_POSTGRES}+ - POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}- POSTGRES_DB=${POSTGRES_DB:-nextcloud}healthcheck:test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]interval: 5stimeout: 20sretries: 10+redis:image: "redis:7.4-alpine"volumes: