https://github.com/bertrandmartel/docker-stud
Stud TLS proxy docker image
https://github.com/bertrandmartel/docker-stud
docker tls-proxy tls-termination
Last synced: about 2 months ago
JSON representation
Stud TLS proxy docker image
- Host: GitHub
- URL: https://github.com/bertrandmartel/docker-stud
- Owner: bertrandmartel
- Created: 2017-03-07T19:20:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-07T19:41:51.000Z (over 9 years ago)
- Last Synced: 2025-01-03T20:12:25.701Z (over 1 year ago)
- Topics: docker, tls-proxy, tls-termination
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stud Docker image
[](https://travis-ci.org/bertrandmartel/docker-stud)
[](https://microbadger.com/images/bertrandmartel/docker-stud)
[](https://microbadger.com/images/bertrandmartel/docker-stud)
A configurable [Stud](https://github.com/bumptech/stud) docker image :
## Run
```
docker run -e CONFIG_PATH="/usr/local/etc/stud/stud.conf" \
--network host \
-v your_home/stud-conf:/usr/local/etc/stud bertrandmartel/docker-stud
```
## Environment variables
* configuration file path :
| variable | description | default value |
|-----------|-----------------|--------------|
| CONFIG_PATH | Load configuration from specified file | |
* or enter each parameter :
| variable | description | default value |
|-----------|-----------------|--------------|
| PEM_FILE | full chain cert path | /usr/local/etc/stud/stud.pem |
| FRONTEND | fronend HOST,PORT | [*]:6984 |
| BACKEND | backend HOST,PORT | [127.0.0.1]:5984 |
| SSL | SSL state on/off | on |
| WORKERS | Number of worker processes | 2 |
Example :
```
docker run --network host \
-e "PEM_FILE=/usr/local/etc/stud/stud.pem" \
-e "FRONTEND=[*]:4242" \
-e "BACKEND=[127.0.0.1]:8081" \
-e "SSL=on" \
-e "WORKERS=4" \
-v your_home/stud-conf:/usr/local/etc/stud bertrandmartel/docker-stud
```
## External Links
* stud : https://github.com/bumptech/stud