Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neonxp/cloudproxy
Simple proxy for Docker
https://github.com/neonxp/cloudproxy
Last synced: about 1 month ago
JSON representation
Simple proxy for Docker
- Host: GitHub
- URL: https://github.com/neonxp/cloudproxy
- Owner: neonxp
- Created: 2019-12-01T19:43:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-01T22:52:04.000Z (about 5 years ago)
- Last Synced: 2023-03-22T15:34:16.484Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud Proxy
Simple cloud proxy for docker
## Usage
# Run proxy itself
```
docker run --name proxy --restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(pwd)/certs:/usr/app/certs \
-p 80:80 -p 443:443 -d \
neonxp/proxy
```# Add service to proxy
```
docker run -l "cp.host=HOST" -l "cp.port=PORT" -l "cp.tls=true" -d service
```Here:
* `cp.host` - label sets hostname of service
* `cp.port` - label sets port that service binds (inside container)
* `cp.tls` - if this label presents, service will work over auto TLS (let's encrypt)