Content-Length: 235311 | pFad | http://github.com/perara/wg-manager/commit/a562822459e09a301db9bca0ae64427513683cb1

9C Fix incorrect port mapping in docker-compose · perara/wg-manager@a562822 · GitHub
Skip to content

Commit

Permalink
Fix incorrect port mapping in docker-compose
Browse files Browse the repository at this point in the history
Fixed an incorrect port mapping the the docker-compose example as well
as added a restart attribute, since it's most likely a good use case to
always keep the server up and running, even if it fails or the host is
updated/restarted.

Also added a missing end parenthesis in the table of env variables.
  • Loading branch information
simonlerpard authored and perara committed Jun 18, 2020
1 parent 9319341 commit a562822
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ The features of wg-manager includes:
wireguard:
container_name: wg-manager
image: perara/wg-manager
restart: always
cap_add:
- NET_ADMIN
#network_mode: host # Alternatively
ports:
- 51800:51900/udp
- 51800-51900:51800-51900/udp
- 8888:8888
volumes:
- ./wg-manager:/config
Expand All @@ -62,16 +63,16 @@ When docker container/server has started, go to http://localhost:8888
# Environment variables
| Environment | Description | Recommended |
|------------------|--------------------------------------------------------------------------|-------------|
| GUNICORN_CONF | Location of custom gunicorn configuration | default |
| WORKERS_PER_CORE | How many concurrent workers should there be per available core (Gunicorn | default |
| WEB_CONCURRENCY | The number of worker processes for handling requests. (Gunicorn) | 1 |
| HOST | 0.0.0.0 or unix:/tmp/gunicorn.sock if reverse proxy. Remember to mount | 0.0.0.0 |
| PORT | The port to use if running with IP host bind | 80 |
| LOG_LEVEL | Logging level of gunicorn/python | info |
| ADMIN_USERNAME | Default admin username on database creation | admin |
| ADMIN_PASSWORD | Default admin password on database creation | admin |
| Environment | Description | Recommended |
|------------------|---------------------------------------------------------------------------|-------------|
| GUNICORN_CONF | Location of custom gunicorn configuration | default |
| WORKERS_PER_CORE | How many concurrent workers should there be per available core (Gunicorn) | default |
| WEB_CONCURRENCY | The number of worker processes for handling requests. (Gunicorn) | 1 |
| HOST | 0.0.0.0 or unix:/tmp/gunicorn.sock if reverse proxy. Remember to mount | 0.0.0.0 |
| PORT | The port to use if running with IP host bind | 80 |
| LOG_LEVEL | Logging level of gunicorn/python | info |
| ADMIN_USERNAME | Default admin username on database creation | admin |
| ADMIN_PASSWORD | Default admin password on database creation | admin |
# Showcase
![Illustration](docs/images/0.png)
Expand Down

0 comments on commit a562822

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/perara/wg-manager/commit/a562822459e09a301db9bca0ae64427513683cb1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy