A static web application for converting
docker-socket-proxy
environment-style configuration into allowlist configuration for
wollomatic/socket-proxy.
The application runs entirely in the browser. It does not require a backend, does not call external APIs, and does not send pasted configuration data away from the user's machine.
URL: https://socket-proxy-configurator.wollomatic.dev/
Note
This is an early release. The resulting allowlists should be carefully reviewed before use in production.
Some docker-socket-proxies use section-based environment variables such as
CONTAINERS=1, IMAGES=0, PING=1, and POST=0 to control access to Docker
API paths.
wollomatic/socket-proxy uses explicit regular-expression allowlists per HTTP
method instead. This converter translates the familiar docker-socket-proxy
toggles into compatible wollomatic/socket-proxy rules.
For example, this input:
CONTAINERS=1
EVENTS=1
PING=1
VERSION=1
POST=0can be converted into command-line allowlist arguments such as:
- '-allowGET=(/v[\d.]+)?/_ping'
- '-allowGET=(/v[\d.]+)?/events.*'
- '-allowGET=(/v[\d.]+)?/version'
- '-allowHEAD=(/v[\d.]+)?/_ping'
- '-allowHEAD=(/v[\d.]+)?/events.*'
- '-allowHEAD=(/v[\d.]+)?/version'
The generated output is meant to emulate docker-socket-proxy behavior as
closely as possible while using the allowlist model provided by
wollomatic/socket-proxy.
The converter accepts pasted configuration in common formats:
- plain environment variable files
docker-compose.ymlenvironment snippets- lines prefixed with
export - quoted values
- comments and empty lines
Boolean values are normalized case-insensitively. Supported enabled values
include 1, true, yes, on, enable, and enabled. Supported disabled
values include 0, false, no, off, disable, and disabled.
Unknown or invalid environment-style variables are ignored and shown as warnings so the generated result remains auditable.
The web app can generate:
- command-line arguments
- environment variables
- Docker labels
It also supports optional network listener compatibility settings for setups
that previously exposed docker-socket-proxy over a Docker network.
POST=0generates onlyGETandHEADallowlists.POST=1additionally generates write-method allowlists for enabled Docker API sections.HEAD /_pingis generated whenPINGis enabled, which is required by modern Traefik health checks.- Regular expressions are emitted without explicit
^and$anchors becausewollomatic/socket-proxyadds those internally. - Generated rules should be reviewed and tested before use in production.
- Svelte 5
- Vite
- TypeScript
- Static single-page application
This application was created with the help of artificial intelligence.
MIT