Running on Koyeb
Deploy the Umami Docker image on Koyeb with the Koyeb CLI, using secrets for the PostgreSQL connection string and APP_SECRET.
Koyeb is a developer-friendly serverless platform to deploy apps globally. The platform lets you seamlessly run Docker containers, web apps, and APIs with git-based deployment, native autoscaling, free SSL, a global edge network, and built-in service mesh and discovery.
Setup#
In this guide, you need to have a PostgreSQL database server running and accepting remote connections. If you do not already have a database, you can check out the Managed databases section under Hosting.
The Umami Docker image creates the required database tables automatically the first time it starts, along with a default login account with username admin and password umami. See the Build the application section of the Install docs for details.
To deploy Umami, we use the Koyeb CLI; you can also perform the setup using the Koyeb control panel.
Create Koyeb Secrets#
Create two Koyeb secrets to securely store your DATABASE_URL and APP_SECRET. In the terminal execute the following command:
Deploy Umami#
Once you've created the secrets, you can deploy Umami. In your terminal run the following command to create a new Koyeb App and deploy the Umami service:
Your Umami service is being deployed. To retrieve the Umami URL run:
Open the URL to access Umami and follow the Quickstart guide starting from the Login step.