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
Add Plunk template
Franck Kerbirioua26bc65137c5
diff --git a/public/svgs/plunk.svg b/public/svgs/plunk.svgnew file mode 100644index 0000000000..3f6ed4792c--- /dev/null+++ b/public/svgs/plunk.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 1080 1080"><path fill="#fff" d="M0 0h1080v1080H0z"></path><path fill="#000" d="M976 284.628q0 95.414-49.38 175.112-49.379 79.699-143.65 130.212-94.27 50.512-224.453 59.493L510.26 919.971Q482.204 1076 357.632 1076q-68.459 0-126.816-40.41-57.235-40.41-92.026-123.477Q104 829.048 104 707.816q0-227.871 72.947-386.145 74.07-159.396 197.519-237.973Q499.037 4 648.299 4q105.492 0 178.44 37.043 74.069 37.042 111.104 101.026Q976 204.929 976 284.628M578.718 533.826q230.064-29.185 230.065-239.095 0-74.086-49.38-120.109-48.258-47.145-150.384-47.146-115.593 0-202.007 72.964-85.293 72.963-132.428 203.175-46.013 129.088-46.013 295.221 0 69.596 13.468 123.476 14.59 53.88 35.912 84.189 22.446 29.185 42.646 29.185 28.057 0 42.646-77.454l37.035-212.154q-43.769-6.736-38.157-5.613-33.668-5.613-43.768-20.205-10.101-15.715-10.101-39.288 0-24.696 13.467-39.288 14.59-14.593 39.28-14.593 11.223 0 16.834 1.123 26.934 4.49 41.524 5.612 14.589-87.556 41.523-234.605 6.734-38.166 30.302-53.881 24.689-16.837 57.235-16.837 37.035 0 52.746 14.592 16.834 13.47 16.834 43.778 0 17.96-2.244 29.186z"></path><path fill="#fff" d="m304.835 467.541 121.264 22.411-14.248 90.985-20.76 118.879-125.003-23.173z"></path></svg>diff --git a/templates/compose/plunk.yaml b/templates/compose/plunk.yamlnew file mode 100644index 0000000000..9c5f450c9d--- /dev/null+++ b/templates/compose/plunk.yaml@@ -0,0 +1,59 @@+# documentation: https://docs.useplunk.com+# slogan: Plunk, The Open-Source Email Platform for AWS+# tags: plunk,email,automation,aws+# logo: svgs/plunk.png+# port: 3000++version: '3'+services:+ plunk:+ image: driaug/plunk+ depends_on:+ postgresql:+ condition: service_healthy+ redis:+ condition: service_started+ environment:+ - SERVICE_FQDN_PLUNK_3000+ - REDIS_URL=redis://redis:6379+ - DATABASE_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgresql/docmost?schema=public+ - JWT_SECRET=${SERVICE_PASSWORD_JWT_SECRET}+ - AWS_REGION=${AWS_REGION}+ - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}+ - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}+ - AWS_SES_CONFIGURATION_SET=${AWS_SES_CONFIGURATION_SET}+ - NEXT_PUBLIC_API_URI=${SERVICE_FQDN_PLUNK}/api+ - APP_URI=${SERVICE_FQDN_PLUNK}+ - API_URI=${SERVICE_FQDN_PLUNK}/api+ - DISABLE_SIGNUPS=False+ entrypoint: [ "/app/entry.sh" ]+ healthcheck:+ test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3000"]+ interval: 2s+ timeout: 10s+ retries: 15+ postgresql:+ image: postgres:16-alpine+ environment:+ - POSTGRES_USER=$SERVICE_USER_POSTGRES+ - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES+ - POSTGRES_DB=${POSTGRES_DB:-plunk}+ volumes:+ - postgresql-data:/var/lib/postgresql/data+ healthcheck:+ test: [ "CMD-SHELL", "pg_isready -U postgres -d postgres" ]+ interval: 5s+ timeout: 10s+ retries: 20+ redis:+ image: "redis:7.4-alpine"+ volumes:+ - "redis-data:/data"+ healthcheck:+ test:+ - CMD+ - redis-cli+ - PING+ interval: 5s+ timeout: 10s+ retries: 20