Deploying a Traduora App
Introduction
Traduora is an open-source localization management platform with a web UI and API. This guide shows how to containerize Traduora, connect it to PostgreSQL, configure admin credentials, and deploy it to Klutch.sh over HTTP.
Prerequisites
- GitHub repository containing your Dockerfile.
- PostgreSQL instance (managed or deployed separately).
- Klutch.sh project ready in klutch.sh/app.
Project structure
.└── DockerfileSample Dockerfile
FROM traduora/traduora:latest
# Default Traduora portENV PORT=8080EXPOSE 8080Required environment variables
DATABASE_URL– e.g.,postgres://USER:PASSWORD@HOST:PORT/DBJWT_SECRET– strong secret for signing tokensDEFAULT_ADMIN_EMAIL– initial admin accountDEFAULT_ADMIN_PASSWORD– initial admin passwordAPP_URL– public URL, e.g.,https://example-app.klutch.sh
Optional environment variables
PORT– override if you change the internal portLOG_LEVEL– e.g.,infoorwarnCORS_ORIGINS– comma-separated origins for API/UI
Persistence
Primary data lives in PostgreSQL. If you need to persist uploads/exports, attach a volume:
- Mount path:
/app/storage - Size: based on expected asset footprint
Networking
- Protocol: HTTP
- Internal port:
8080 - Users reach
https://example-app.klutch.shwhile Klutch.sh routes to port8080in the container.
Health check (recommended)
curl -I http://localhost:8080Deployment on Klutch.sh
- Push your Dockerfile to GitHub.
- In klutch.sh/app, create a new app and choose GitHub as the source.
- Klutch.sh automatically detects the Dockerfile in the repository root.
- Select HTTP traffic and set the internal port to
8080. - Add environment variables for
DATABASE_URL,JWT_SECRET, admin credentials, andAPP_URL. Mark secrets as sensitive. - Optionally attach a persistent volume at
/app/storageif storing files locally. - Deploy. After the first boot, log in with the default admin and finalize workspace settings.
Verification
-
UI: open
https://example-app.klutch.shand confirm the Traduora dashboard loads. -
API health:
Terminal window curl -I https://example-app.klutch.sh/api/health
Next steps
- Rotate the admin password after initial setup.
- Enable TLS and backups for your PostgreSQL database.
- Configure CORS and OAuth providers if you integrate SSO.