-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Enable Github pages and add troubleshooting docs
- Loading branch information
Showing
4 changed files
with
81 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
--- | ||
layout: default | ||
title: Troubleshooting | ||
permalink: /troubleshooting/ | ||
nav_order: 5 | ||
--- | ||
|
||
# Troubleshooting | ||
|
||
If you are unable to run the container as desired, please try the following before opening an issue | ||
on GitHub. | ||
|
||
## Troubleshooting with default compose file | ||
|
||
1. Stop and delete existing containers named `protonvpn` and `pyload` (if any). | ||
1. Please export credentials as environment variables `PROTONVPN_USERNAME` and `PROTONVPN_PASSWORD` and optionally `PROTONVPN_TIER`. | ||
This depends on your shell. Please consult your shell's manpage/docs for how to export environment variables. | ||
1. Get your debugging [compose file][] and create a temporary folder required to save pyload downloads. | ||
```bash | ||
curl -sSfLO https://raw.githubusercontent.com/tprasadtp/protonvpn-docker/master/k8s/docker-compose.yml | ||
mkdir -p ./downloads | ||
``` | ||
1. Try to run downloaded [compose file][] | ||
```bash | ||
docker-compose up | ||
``` | ||
1. We intentionally do not expose in this config, `pyload` to outside world. depending on your system and runtime constraints IP address of your container will vary. To obtain IP address/URL of your `pyload` service,run | ||
```bash | ||
docker inspect --format='{{range .NetworkSettings.Networks}}{{printf "http://%s:8000\\n" .IPAddress}}{{end}}' protonvpn | ||
``` | ||
1. Visit the link in your browser. | ||
1. If for some reason you get timeout errors, please specify output of following when running inside protonvpn container via `docker exec -it protonvpn bash`. | ||
- `ip r` | ||
- `curl -sSfL ipinfo.io` | ||
|
||
## DNS and Healthchecks | ||
|
||
- Healthchecks use `ipinfo.io` service. If your DNS or gateway is blocking it, please add it to your exceptions. | ||
- If your are unable to do so, please open an issue so that we can find some alternatives. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# domain | ||
baseurl: "/protonvpn-docker" | ||
url: "https://tprasadtp.github.io" | ||
|
||
# meta | ||
title: ProtonVPN docker image | ||
description: ProtonVPN docker image. Supports ARMv7(32-bit), ARMv8 (64-bit ) and x86 (64-Bit). | ||
show_downloads: false | ||
remote_theme: pmarsceill/just-the-docs | ||
# Logo | ||
logo: "https://static.prasadt.com/logos/projects/artemis/scalable/sysadmin.svg" | ||
# Enable Search | ||
search_enabled: true | ||
|
||
# Misc | ||
permalink: pretty | ||
|
||
# Aux links for the upper right navigation | ||
aux_links: | ||
"View on GitHub": | ||
- "https://github.com/tprasadtp/protonvpn-docker/" | ||
|
||
# Makes Aux links open in a new tab | ||
aux_links_new_tab: true |