Get Domäjner up and running in 5 minutes!
- Docker and Docker Compose installed
- SMTP server access (or use local testing)
- Clone and configure
git clone https://github.com/yourusername/domajner.git
cd domajner
cp .env.example .env- Edit configuration
# Edit .env file
nano .env
# Minimum required settings:
SENDER_EMAIL=noreply@yourdomain.com
ADMIN_PASSWORD=your-secure-password- Start the application
docker-compose up -d- Access the application
- Main app: http://localhost:3000
- Admin: http://localhost:3000/admin.html
- Configure services
- Login to admin with your password
- Add services with appropriate access modes
- Configure allowed email domains
- Node.js 18+
- SMTP server or local mail setup
- Install dependencies
git clone https://github.com/yourusername/domajner.git
cd domajner
npm install- Configure environment
cp .env.example .env
nano .env- Start application
npm startWant to test immediately? Use these settings:
# .env file for testing
SMTP_HOST=localhost
SMTP_PORT=1025
SMTP_SECURE=false
SMTP_AUTH=false
SENDER_EMAIL=test@localhost
ADMIN_PASSWORD=admin123
PORT=3000Start a fake SMTP server for testing:
# Install and run maildev for testing
npm install -g maildev
maildev --smtp 1025 --web 1080Gmail:
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_AUTH=true
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-passwordSendGrid:
SMTP_HOST=smtp.sendgrid.net
SMTP_PORT=587
SMTP_SECURE=false
SMTP_AUTH=true
SMTP_USER=apikey
SMTP_PASS=your-sendgrid-api-keyCorporate Exchange:
SMTP_HOST=your-exchange-server.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_AUTH=true
SMTP_USER=your-username
SMTP_PASS=your-passwordAfter starting the application:
-
Access admin interface
- Go to http://localhost:3000/admin.html
- Login with your admin password
-
Configure allowed domains
- Add your organization's email domains
- Example:
company.com,university.edu
-
Add your first service
- Name: "Excalidraw"
- URL: "https://excalidraw.com"
- Mode: "Proxy Mode" (for URL anonymity)
-
Test the system
- Go to main page
- Enter your email
- Select the service
- Check your email for the access link
"Email not sent"
- Check SMTP configuration
- Verify SMTP server connectivity
- Check email server logs
"Service not loading"
- Check URL is accessible from server
- For commercial sites, try "Direct Mode"
- Check proxy logs for errors
"Admin login not working"
- Verify ADMIN_PASSWORD in .env file
- Clear browser cache/cookies
- Check server logs
"Docker container not starting"
- Check port 3000 is available
- Verify Docker and Docker Compose versions
- Check container logs:
docker-compose logs
- Check the README for detailed documentation
- Review troubleshooting section
- Open an issue on GitHub
- Check existing issues and discussions
After basic setup:
- Production deployment: Configure reverse proxy (nginx)
- SSL certificates: Set up HTTPS
- Monitoring: Enable logging and health checks
- Backup: Set up configuration backup
- Updates: Subscribe to releases for updates
Happy using Domäjner! 🎉