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 joplin
peaklabs-dev3000579bcde6
diff --git a/templates/compose/joplin.yaml b/templates/compose/joplin.yamlindex 8b283bff57..1d60688045 100644--- a/templates/compose/joplin.yaml+++ b/templates/compose/joplin.yaml@@ -3,31 +3,40 @@# tags: joplin# logo: svgs/joplin.png# port: 22300-version: '3'+services:- db:+ postgres:image: 'postgres:16'volumes:- - './data/postgres:/var/lib/postgresql/data'- restart: unless-stopped+ - joplin-postgresql-data:/var/lib/postgresql/data'environment:- - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES- - POSTGRES_USER=$SERVICE_USER_POSTGRES+ - POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_POSTGRES}+ - POSTGRES_USER=${SERVICE_USER_POSTGRES}- POSTGRES_DB=joplin- app:+ healthcheck:+ test:+ - CMD+ - pg_isready+ - -d+ - joplin+ interval: 10s+ timeout: 5s+ retries: 5++ joplin:image: 'joplin/server:latest'+ platform: 'linux/amd64'depends_on:- - db- ports:- - '22300:22300'- restart: unless-stopped+ postgres:+ condition: service_healthyenvironment:- - APP_PORT=22300- - APP_BASE_URL=$SERVICE_FQDN_JOPLIN+ - SERVICE_FQDN_JOPLIN_22300+ - APP_BASE_URL=${SERVICE_FQDN_JOPLIN}- DB_CLIENT=pg- - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES+ - POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_POSTGRES}- POSTGRES_DATABASE=joplin- - POSTGRES_USER=$SERVICE_USER_POSTGRES+ - POSTGRES_USER=${SERVICE_USER_POSTGRES}- POSTGRES_PORT=5432- - POSTGRES_HOST=db-+ - POSTGRES_HOST=postgres+ # Default login is "admin@localhost" and password "admin"+\ No newline at end of file