Never run in production with default passwords.
- Generate Keys:
bun run scripts/generate-secret.ts
- Update .env:
Copy the generated keys into your
.envfile (server-side).
We use Nginx as a reverse proxy ("The Gateway").
- Start the OS:
docker compose up --build -d
- Access:
- Frontend:
http://localhost(Port 80) - API:
http://localhost/api(Proxied to internal:3001)
- Frontend:
To enable HTTPS:
- Mount your certs in
docker-compose.ymlunderjubilee-gateway. - Update
nginx/default.confto listen on 443 and specifyssl_certificate.
The database volume is jubilee_db_data.
- Backup:
docker run --rm -v jubilee_db_data:/volume -v $(pwd):/backup alpine tar -czf /backup/db_backup.tar.gz /volume - Restore: Reverse the process.