Update Readme.md

Added instructions for accessing when not on raspberry pi.
This commit is contained in:
Alex Hyett 2021-03-20 09:13:15 +00:00 committed by GitHub
parent 9da2ccb0f7
commit 9c8e8df751
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 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 ## 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 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 ### 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 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) 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)