mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
feat(blueprint): add notifuse template (#373)
* feat(blueprint): add notifuse template * fix(meta): reorganized notifuse in meta file
This commit is contained in:
58
blueprints/notifuse/docker-compose.yml
Normal file
58
blueprints/notifuse/docker-compose.yml
Normal file
@@ -0,0 +1,58 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:17-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=postgres
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
notifuse:
|
||||
image: notifuse/notifuse:latest
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
# Root user configuration
|
||||
- ROOT_EMAIL=${ROOT_EMAIL}
|
||||
|
||||
# API configuration
|
||||
- API_ENDPOINT=${API_ENDPOINT}
|
||||
|
||||
# Database configuration
|
||||
- DB_HOST=db
|
||||
- DB_PORT=5432
|
||||
- DB_USER=postgres
|
||||
- DB_PASSWORD=postgres
|
||||
- DB_PREFIX=notifuse
|
||||
- DB_NAME=notifuse_system
|
||||
- DB_SSLMODE=disable
|
||||
|
||||
# PASETO keys for authentication
|
||||
# Default keys for testing - GENERATE YOUR OWN for production at https://paseto.notifuse.com/
|
||||
- PASETO_PRIVATE_KEY=${PASETO_PRIVATE_KEY}
|
||||
- PASETO_PUBLIC_KEY=${PASETO_PUBLIC_KEY}
|
||||
|
||||
# SMTP configuration
|
||||
- SMTP_HOST=${SMTP_HOST}
|
||||
- SMTP_PORT=${SMTP_PORT}
|
||||
- SMTP_USERNAME=${SMTP_USERNAME}
|
||||
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
||||
- SMTP_FROM_EMAIL=${SMTP_FROM_EMAIL}
|
||||
- SMTP_FROM_NAME=${SMTP_FROM_NAME}
|
||||
|
||||
# Server configuration
|
||||
- SERVER_PORT=8080
|
||||
- SERVER_HOST=0.0.0.0
|
||||
- ENVIRONMENT=production
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
driver: local
|
||||
BIN
blueprints/notifuse/logo.png
Normal file
BIN
blueprints/notifuse/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
29
blueprints/notifuse/template.toml
Normal file
29
blueprints/notifuse/template.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
paseto_private_key = "d04zCk3Fa45oOjDWHpAvc1AZxnLdGffOnNWK+Jt2yXf37+FTfuMMHb8flcfPMqLluRR3rvhbr555r6j1DEigrA=="
|
||||
paseto_public_key = "9+/hU37jDB2/H5XHzzKi5bkUd674W6+eea+o9QxIoKw="
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "notifuse"
|
||||
port = 8080
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
ROOT_EMAIL = "${email}"
|
||||
API_ENDPOINT = "https://${main_domain}"
|
||||
|
||||
# PASETO keys for authentication
|
||||
# Default keys for testing - GENERATE YOUR OWN for production at https://paseto.notifuse.com/
|
||||
PASETO_PRIVATE_KEY = "${paseto_private_key}"
|
||||
PASETO_PUBLIC_KEY = "${paseto_public_key}"
|
||||
|
||||
# SMTP Configuration (users need to configure these)
|
||||
SMTP_HOST = "smtp.gmail.com"
|
||||
SMTP_PORT = "587"
|
||||
SMTP_USERNAME = "your-email@gmail.com"
|
||||
SMTP_PASSWORD = "your-smtp-password"
|
||||
SMTP_FROM_EMAIL = "noreply@yourdomain.com"
|
||||
SMTP_FROM_NAME = "Notifuse"
|
||||
|
||||
[[config.mounts]]
|
||||
18
meta.json
18
meta.json
@@ -3398,6 +3398,24 @@
|
||||
"nocode"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "notifuse",
|
||||
"name": "Notifuse",
|
||||
"version": "latest",
|
||||
"description": "Open-source newsletter and notification platform that empowers teams to create, send, and track communications at scale.",
|
||||
"logo": "logo.png",
|
||||
"links": {
|
||||
"github": "https://github.com/notifuse/notifuse",
|
||||
"website": "https://notifuse.com/",
|
||||
"docs": "https://docs.notifuse.com/"
|
||||
},
|
||||
"tags": [
|
||||
"newsletter",
|
||||
"email",
|
||||
"communication",
|
||||
"notifications"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ntfy",
|
||||
"name": "NTFY",
|
||||
|
||||
Reference in New Issue
Block a user