-
Notifications
You must be signed in to change notification settings - Fork 5.9k
docs: improve Docker setup instructions #3741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -80,19 +80,28 @@ _By default, this will launch the application on `http://localhost:3000`. You wi | |||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ## 🐳 Installing with Docker | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| To build the Umami container and start up a Postgres database, run: | ||||||||||||||||||||||||||||||||
| To run Umami using Docker, follow these steps: | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||
| docker compose up -d | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
| 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) | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| Alternatively, to pull just the Umami Docker image with PostgreSQL support: | ||||||||||||||||||||||||||||||||
| 2. **Clone the Umami repository**: | ||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||
| git clone https://github.com/umami-software/umami.git | ||||||||||||||||||||||||||||||||
| cd umami | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||
| 3.**start the application and PostgreSQL database: | ||||||||||||||||||||||||||||||||
| docker compose up -d | ||||||||||||||||||||||||||||||||
|
Comment on lines
+93
to
+94
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. syntax: Missing opening code block fence and broken formatting
Suggested change
|
||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| 4. **- Access Umami in your browser: | ||||||||||||||||||||||||||||||||
| http://localhost:3000 | ||||||||||||||||||||||||||||||||
| - | ||||||||||||||||||||||||||||||||
| - Default login credentials: | ||||||||||||||||||||||||||||||||
| - Username: admin | ||||||||||||||||||||||||||||||||
| - Password: umami | ||||||||||||||||||||||||||||||||
|
Comment on lines
+96
to
+101
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. syntax: Broken markdown formatting: missing code block formatting and inconsistent structure
Suggested change
|
||||||||||||||||||||||||||||||||
| Alternatively, if you just want to pull the Docker image: | ||||||||||||||||||||||||||||||||
| docker pull docker.umami.is/umami-software/umami:latest | ||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. syntax: Orphaned code block without proper fencing - this will break markdown rendering
Suggested change
Prompt To Fix With AIThis is a comment left during a code review.
Path: README.md
Line: 103:103
Comment:
**syntax:** Orphaned code block without proper fencing - this will break markdown rendering
```suggestion
---
```
How can I resolve this? If you propose a fix, please make it concise. |
||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ## 🔄 Getting Updates | ||||||||||||||||||||||||||||||||
| > [!WARNING] | ||||||||||||||||||||||||||||||||
|
|
@@ -107,14 +116,7 @@ pnpm install | |||||||||||||||||||||||||||||||
| 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 | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syntax: Missing closing backtick for code block