Skip to content

Instantly share code, notes, and snippets.

@diegofcornejo
Created September 25, 2025 18:49
Show Gist options
  • Save diegofcornejo/202ca6620d1d341aae6b8bb0cb810975 to your computer and use it in GitHub Desktop.
Save diegofcornejo/202ca6620d1d341aae6b8bb0cb810975 to your computer and use it in GitHub Desktop.
Install Notifuse with docker compose
version: '3.8'
services:
api:
image: notifuse/notifuse:latest
ports:
- '127.0.0.1:10004:8080'
environment:
- ROOT_EMAIL=${ROOT_EMAIL:[email protected]}
- API_ENDPOINT=${API_ENDPOINT:-https://notifuse.yourdomain.com}
- SERVER_PORT=8080
- SERVER_HOST=0.0.0.0
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=postgres
- DB_PASSWORD=postgres
- DB_SSLMODE=disable
- PASETO_PRIVATE_KEY=${PASETO_PRIVATE_KEY:-d04zCk3Fa45oOjDWHpAvc1AZxnLdGffOnNWK+Jt2yXf37+FTfuMMHb8flcfPMqLluRR3rvhbr555r6j1DEigrA==}
- PASETO_PUBLIC_KEY=${PASETO_PUBLIC_KEY:-9+/hU37jDB2/H5XHzzKi5bkUd674W6+eea+o9QxIoKw=}
- SMTP_HOST=${SMTP_HOST:-smtp.example.com}
- SMTP_PORT=${SMTP_PORT:-587}
- SMTP_USERNAME=${SMTP_USERNAME:-your-username}
- SMTP_PASSWORD=${SMTP_PASSWORD:-your-password}
- SMTP_FROM_EMAIL=${SMTP_FROM_EMAIL:[email protected]}
- SMTP_FROM_NAME=${SMTP_FROM_NAME:-Notifuse}
depends_on:
- postgres
volumes:
- ./data:/app/data
restart: unless-stopped
networks:
- notifuse-network
postgres:
image: postgres:17-alpine
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
volumes:
- postgres-data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- notifuse-network
networks:
notifuse-network:
driver: bridge
volumes:
postgres-data:
[email protected]
API_ENDPOINT=https://notifuse.yourdomain.com
SERVER_PORT=8080
SERVER_HOST=0.0.0.0
DB_HOST=postgres
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=postgres
PASETO_PRIVATE_KEY=<your pase to private key>
PASETO_PUBLIC_KEY=<your pase to public key>
SMTP_HOST=email-smtp.us-east-1.amazonaws.com
SMTP_PORT=587
SMTP_USERNAME=<your smtp username>
SMTP_PASSWORD=<your smtp password>
[email protected]
SMTP_FROM_NAME=Notifuse
TZ=America/Guatemala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment