Replies: 1 comment 1 reply
-
https://nginxui.com/guide/config-nginx#container-control services:
nginx-service:
container_name: 'nginx-service'
image: 'tiangolo/nginx-rtmp:latest'
# ...
nginx-ui:
container_name: 'nginx-ui'
image: 'uozi/nginx-ui:latest'
depends_on:
- nginx-service
environment:
- NGINX_UI_NGINX_CONTAINER_NAME=nginx-service
ports:
- 8080:80
- 8443:443
volumes:
- '/mnt/user/appdata/nginx:/etc/nginx'
- '/mnt/user/appdata/nginx-ui:/etc/nginx-ui'
- '/var/www:/var/www'
- '/var/run/docker.sock:/var/run/docker.sock'
stdin_open: true
tty: true
restart: unless-stopped |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
version 2.x is out and since I did not found a specific instruction to this #856 Issue I was hoping to get some help here.
As stated in the issue I would like to setup NginxUI with a custom Nginx docker instance. The default Nginx build that is shipped with NginxUI does not include the community RTMP custom module for Nginx. Therefore I want to use NginxUI just for the UI part and replace the Nginx that gets shipped with an other instance from a different container. I would like to use
docker compose
for that.Can someone please give me a hint on how to setup NginxUI with an other Nginx instance (this one for example) also running from the same
docker compose
file?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions