Update Readme.md
Added instructions for accessing when not on raspberry pi.
This commit is contained in:
parent
9da2ccb0f7
commit
9c8e8df751
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ This repository is to complement my blog post on this topic, [Traefik vs Nginx f
|
|||
docker-compose -f docker-compose.nginx.yml up
|
||||
```
|
||||
|
||||
You will then be able to access whoami from http://localhost/whoami.
|
||||
You will then be able to access whoami from http://localhost/whoami (or replace localhost with the IP address of your Raspberry Pi if accessing it remotely)
|
||||
|
||||
## Traefik Example
|
||||
|
||||
|
@ -22,7 +22,7 @@ For traefik I have included 2 version, one insecure version for local use and a
|
|||
docker-compose -f docker-compose.traefik.yml up
|
||||
```
|
||||
|
||||
You will then be able to access whoami from http://localhost/whoami and the Traefik dashboard from http://localhost:8080.
|
||||
You will then be able to access whoami from http://localhost/whoami and the Traefik dashboard from http://localhost:8080 (or replace localhost with the IP address of your Raspberry Pi if accessing it remotely)
|
||||
|
||||
### Secure version
|
||||
|
||||
|
@ -32,6 +32,6 @@ You need to replace `youremailhere` in `traefik.toml` and `yourdomain.com` in `t
|
|||
docker-compose -f docker-compose.traefik-ssl.yml up
|
||||
```
|
||||
|
||||
You will then be able to access whoami from https://localhost/whoami and the Traefik dashboard from https://localhost/dashboard.
|
||||
You will then be able to access whoami from https://localhost/whoami and the Traefik dashboard from https://localhost/dashboard (or replace localhost with the IP address of your Raspberry Pi or `yourdomain.com` if accessing it remotely).
|
||||
|
||||
The username is `admin` and the password is `admin`. Read my blog post on how to set this up, [Traefik vs Nginx for Reverse Proxy with Docker on a Raspberry Pi](https://www.alexhyett.com/traefik-vs-nginx-docker-raspberry-pi)
|
||||
|
|
Loading…
Reference in a new issue