mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 19:15:37 +01:00
docs: added Railway deployment guide
This commit is contained in:
parent
033b5b3b35
commit
704d5c7ace
1 changed files with 27 additions and 0 deletions
27
README.md
27
README.md
|
|
@ -107,6 +107,33 @@ docker pull docker.umami.is/umami-software/umami:mysql-latest
|
|||
|
||||
---
|
||||
|
||||
## 🚄 Deploying on Railway
|
||||
|
||||
You can deploy Umami on [Railway](https://railway.app/) in just a few minutes.
|
||||
|
||||
### Quick Deploy
|
||||
Click the button below to create a Railway project with Umami and PostgreSQL preconfigured:
|
||||
|
||||
[](https://railway.app/template/YOUR_UMAMI_TEMPLATE_LINK)
|
||||
|
||||
### Step-by-Step
|
||||
|
||||
1. **Sign up / Log in** to [Railway](https://railway.app/).
|
||||
2. Click the **Deploy on Railway** button above.
|
||||
3. In your Railway project:
|
||||
- Open the **Variables** tab and ensure:
|
||||
| Variable | Description |
|
||||
|-----------------|----------------------------------------------------|
|
||||
| `DATABASE_URL` | Set automatically when PostgreSQL service is added |
|
||||
| `HASH_SALT` | Generate a secure random string (32+ chars) |
|
||||
- Optional: Add other [Umami environment variables](https://umami.is/docs/environment-variables) if needed.
|
||||
4. Deploy the service and wait for the build to finish.
|
||||
5. Open the Railway **Shell** and run:
|
||||
```bash
|
||||
npx prisma migrate deploy
|
||||
|
||||
---
|
||||
|
||||
## 🔄 Getting Updates
|
||||
|
||||
To get the latest features, simply do a pull, install any new dependencies, and rebuild:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue