-
Clone the Repository:
git clone https://github.com/MLSAKIIT/umami.git cd umami -
Configuration:
- Copy
.env.exampleto.envand fill in the required environment variables. - Refer to the Configuration documentation for details.
- Copy
-
Deployment:
export PRIMARY_DOMAIN=mlsakiit.com docker-compose up -d -
Access Umami:
- Open your browser and navigate to
http://localhost:3000. - Use the default login credentials:
admin:umami.
- Open your browser and navigate to
For the configuration, you need to fill the following environment variables in the .env file, that are described in the .env.example file:
DATABASE_URL: Connection string for your PostgreSQL DatabaseDATABASE_TYPE: Must be set topostgresqlAPP_SECRET: A secret string used by Umami for security (Useopenssl rand -base64 32to generate a strong string)TRACKER_SCRIPT_NAME: Optional Uncomment and change to have a custom name for the tracking script (e.g.,my_analytics_script) to avoid ad-blockers.POSTGRES_DB: Name of the DatabasePOSTGRES_USER: Name of the userPOSTGRES_PASSWORD: Database password
Refer to umami docs