f:: Self-Hosted
-
Umami is a simple, fast, privacy-focused alternative to Google Analytics.
Running on Supabase
Running on Railway
Execution Time Limit: Exclusively on the Starter Plan, Railway limits accounts to 500 hours of uptime. Each service counts against this limit. In practice, if a user only has one service running, they expend the hours at a standard rate. (Around 21 days of continuous uptime) If they have two services running, such as a DB and a service, the hours consume twice the rate. (Around ten and a half days of continuous uptime).
Create database tables
- Once you’ve deployed your project, clone it locally using Git.
- Use the Railway CLI to link your local setup to your Railway project by running
railway link
.
- Use
railway run psql -h hostname -U username -d databasename -f sql/schema.postgresql.sql
- You can view your hostname, username, and databasename using
railway variables
or from your project dashboard - This command installs all the tables with the required scripts and creates a login account with the username
admin
and passwordumami
- You can view your hostname, username, and databasename using
- You should now be able to visit your Umami dashboard and set up sites that you want to track analytics for
- You can find the URL in your project dashboard which you can visit by running
railway open
- You can find the URL in your project dashboard which you can visit by running
Notes
- Make sure you change your password after you log in for the first time
- Read more about adding a website and collecting data here