Skip to content
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

Add troubleshooting section to readme #4

Merged
merged 3 commits into from
Mar 17, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
accomidate new env vars
Co-authored-by: Mariano Ruiz <mrsarm@gmail.com>
  • Loading branch information
mrjones-plip and mrsarm committed Mar 17, 2021
commit fd144d71d94b559963a14a4704599c52d0858b33
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,18 @@ ERROR: for nginx-local-ip_app_1 Cannot start service app: driver failed program
5cdae3a684): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use
```

You may need to edit the `docker-compose.yml` to use different ports. For example, you could shift them up to 8xxx like so:
You may need to change one or both ports. For example, you could shift them up to 8xxx like so:

```
ports:
- "8080:80"
- "8443:443"
```
$ HTTP=8080 HTTPS=8443 APP_URL=http://192.168.1.3:5988 docker-compose up

Also a convenient environment file can be used to store the new values as suggested in the [Running with Medic-OS](#running-with-medic-os) section:

**my.env file:**

HTTP=8080
HTTPS=444

Run with: `APP_URL=https://192.168.1.3:5988 docker-compose --env-file=my.env up`

You would then access your dev instance with the `8443` port. Using the sample URL from above, it would go from `https://192-168-0-3.my.local-ip.co` to this instead `https://192-168-0-3.my.local-ip.co:8443`.

Expand Down