Deploy Umami on Render

Reading time:   2 min

deploy-umami-on-render

Umami is a great piece of open source software, a privacy-focused alternative to Google Analytics.

I use it to track visitors on the website of my Brazilian startup Código Do Bem and company page TICI Tecnologia; for this personal blog thomascenni.com I'm using another open source analytics software called Plausible.

Until now I was using the Railway service, which works great but the free tier rapidly goes out of limits (in execution hours, not in free credits available).

So i decided to have a look at Render and was surprised on how is simple (even than Railway) to deploy the Umami software using their blueprint specification.

I created the following render.yaml file:

services:
  - type: web
    name: umami
    env: docker
    repo: https://github.com/thomascenni/umami.git
    region: oregon # optional (defaults to oregon)
    plan: free
    branch: main
    numInstances: 1
    envVars:
      - key: DATABASE_URL
        fromDatabase:
          name: umami-db
          property: connectionString
      - key: HASH_SALT
        generateValue: true

databases:
  - name: umami-db
    plan: free
    databaseName: umami
    user: umami

It basically uses the free plan (you don't even need to put your credit card) to create a PostgreSQL database (umami-db service) and to run the official Umami Docker image (umami service), defined in the Dockerfile available in this repository:

FROM ghcr.io/umami-software/umami:postgresql-v2.10.2

To deploy to your Render account, just click on the following button:

Deploy to Render

or visit https://github.com/thomascenni/umami for more information.

Thomas

Interested in a practical digital transformation roadmap?

Let us map your process, identify quick wins and build a reliable web solution for your team.

Thomas Cenni

Professional experience with a human approach

Thomas Cenni is an Electronic Engineer with more than 20 years of experience in program management and software engineering. He combines strategic product thinking with practical delivery to help companies modernize operations.

Certified SAFe 6 Agilist, entrepreneur and multicultural leader with experience in Italy, Brazil and France, fluent in English, French, Italian and Brazilian Portuguese.