Skip to content

Commit

Permalink
Improved Docker note [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Dec 14, 2022
1 parent 702fe4c commit 1f415e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/Docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Start the dashboard:
docker run -ti -e DATABASE_URL=postgres://user:password@hostname:5432/dbname -p 8080:8080 ankane/pghero
```

Use URL-encoding for any special characters in the username or password. For databases on the host machine, use `host.docker.internal` as the hostname (on Linux, this requires Docker 20.04 and `--add-host=host.docker.internal:host-gateway`).
Use URL-encoding for any special characters in the username or password. For databases on the host machine, use `host.docker.internal` as the hostname (on Linux, this requires Docker 20.04+ and `--add-host=host.docker.internal:host-gateway`).

Then visit [http://localhost:8080](http://localhost:8080).

Expand Down

0 comments on commit 1f415e6

Please sign in to comment.