Skip to content

The fastest way to expose your container state with a public API

Notifications You must be signed in to change notification settings

borgmon/state-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Status Proxy

The fastest way to expose your container state with a public API

Setup

git clone https://github.com/borgmon/state-proxy
docker-compose -f "./state-proxy/docker-compose.yml" up -d

Then you will have this service on :8090/state/{YOUR_CONTAINER_NAME}

{
    "state": "running"
}

Config

You can pass following ENV to config the service

ENV Default Note
WHITELIST - Pass a csv here. If empty: all containers can be reached. Ex: web1,web2
PORT 8090 Port number

Volume

This service need to access to docker socket. Please mount via

/var/run/docker.sock:/var/run/docker.sock

About

The fastest way to expose your container state with a public API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published