mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
docs: improve Docker setup instructions
This commit is contained in:
parent
7ac5913c86
commit
0ce2d2a6ec
1 changed files with 17 additions and 15 deletions
32
README.md
32
README.md
|
|
@ -80,19 +80,28 @@ _By default, this will launch the application on `http://localhost:3000`. You wi
|
||||||
|
|
||||||
## 🐳 Installing with Docker
|
## 🐳 Installing with Docker
|
||||||
|
|
||||||
To build the Umami container and start up a Postgres database, run:
|
To run Umami using Docker, follow these steps:
|
||||||
|
|
||||||
```bash
|
1. **Make sure Docker and Docker Compose are installed** on your machine.
|
||||||
|
- You can download Docker from [https://www.docker.com](https://www.docker.com)
|
||||||
|
|
||||||
|
2. **Clone the Umami repository**:
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/umami-software/umami.git
|
||||||
|
cd umami
|
||||||
|
|
||||||
|
3.**start the application and PostgreSQL database:
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
|
||||||
|
|
||||||
Alternatively, to pull just the Umami Docker image with PostgreSQL support:
|
4. **- Access Umami in your browser:
|
||||||
|
http://localhost:3000
|
||||||
```bash
|
-
|
||||||
|
- Default login credentials:
|
||||||
|
- Username: admin
|
||||||
|
- Password: umami
|
||||||
|
Alternatively, if you just want to pull the Docker image:
|
||||||
docker pull docker.umami.is/umami-software/umami:latest
|
docker pull docker.umami.is/umami-software/umami:latest
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🔄 Getting Updates
|
## 🔄 Getting Updates
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
|
|
@ -107,14 +116,7 @@ pnpm install
|
||||||
pnpm run build
|
pnpm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
To update the Docker image, simply pull the new images and rebuild:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker compose pull
|
|
||||||
docker compose up --force-recreate -d
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🛟 Support
|
## 🛟 Support
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue