Introducing the socket-proxy configuration converter
Website: https://socket-proxy-configurator.wollomatic.dev
Repo: https://github.com/wollomatic/socket-proxy-configurator
One of the most common questions from users migrating from tecnativa/docker-socket-proxy
or linuxserver/docker-socket-proxy is how to translate an existing environment-variable
based configuration into the regular-expression based allowlists used by socket-proxy.
While wollomatic/socket-proxy is designed to provide more flexibility and finer-grained control over Docker API access, this flexibility comes at the cost of a more complex configuration model.
A simple configuration such as:
environment:
- CONTAINERS=1
- EVENTS=1
- PING=1
- VERSION=1
needs to be translated into the corresponding regular expressions that match the Docker API endpoints required by those permissions.
For experienced users this is usually straightforward, but for new users it can make the initial migration more difficult than necessary.
To simplify this process, I created the socket-proxy configuraton converter.
This little webtool converts existing docker-socket-proxy configurations into matching wollomatic/socket-proxy allowlists.
Command-line arguments, environment variable, and docker label formats are supported.
I hope this small tool makes migrating to wollomatic/socket-proxy a little easier.
Privacy
The Socket Proxy Configurator is a completely static web application.
All processing happens locally in your browser. No configuration data is uploaded, stored, or transmitted to any server.
Feedback
The project is in a very early state. If you find any bugs, please open an issue on GitHub. Of course, any feedback is welcome.
AI Assistance
This tool was developed with the help of OpenAI Codex. All AI-generated code was reviewed, tested, and modified where necessary before being included in the project.
As always, the final responsibility for the code and its correctness remains with me.