nginx-ui
nginx-ui copied to clipboard
Docker container only for UI
Is your feature request related to a problem? Please describe. I want to include just the UI in my Docker compose as I already have a SWAG container which has NGINX, Certbot and php.
Describe the solution you'd like A separate container just for the UI.
Hi, in nginx-ui, we need to execute some commands directly in the same environment with Nginx like to restart or reload it. If using a separate container just for the UI, we cannot control, test config files or get the running status of nginx.
Could you possibly add the GUI as a Docker mod to the NGINX and SWAG containers? https://github.com/linuxserver/docker-mods
bump. this would be useful for those who already are running nginx images and prefer not to switch. I use linuxserver/nginx
which has few modifications such as configurations mountpoints (/config
), users and groups.
In case of a different image only for the UI, a form of communication of the UI and the separate nginx would be necessary. I think of shared volumes or network calls.
Shared volumes are ok if one only needs to read and write to configuration/log files, not execute commands. I don't know if nginx provides any type of RPCs or APIs for command execution, and even if it does that would pose a security risk.
Why having a shared mount between a nginx-ui UI container and a different nginx container is not enough? Maybe the only option is what @schmittyd sugested.