https://github.com/johnae/haproxy-dev
A sidekick docker container image
https://github.com/johnae/haproxy-dev
Last synced: over 1 year ago
JSON representation
A sidekick docker container image
- Host: GitHub
- URL: https://github.com/johnae/haproxy-dev
- Owner: johnae
- Created: 2015-05-11T14:56:45.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T08:38:52.000Z (about 11 years ago)
- Last Synced: 2025-01-31T13:12:55.371Z (over 1 year ago)
- Language: Shell
- Size: 125 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### HAProxy sidekick container
This is mostly so I get db:s in other containers on localhost in some other container. Meant to be run something like this:
```
docker run -e FWD_PG='postgres-dev:5432' -e FWD_MONGO='mongo-dev:27017' --rm --net=container:some-container --name some-container-sidekick johnae/haproxy-dev
```
Basically, any env var with a name starting with "FWD" will be added to the haproxy config. The env vars are assumed to contain "ip-or-hostname:port".