From b7fe1cb28180a2d9ab015c4d293b8eb7fb45f6d1 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sat, 2 Nov 2024 23:13:54 +0800 Subject: [PATCH] update --- rxr_nginx_webui/docker-compose.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/rxr_nginx_webui/docker-compose.yaml b/rxr_nginx_webui/docker-compose.yaml index 6815f2d..16d8766 100644 --- a/rxr_nginx_webui/docker-compose.yaml +++ b/rxr_nginx_webui/docker-compose.yaml @@ -1,13 +1,12 @@ +version: "3.2" services: - nginx-ui: - image: uozi/nginx-ui:latest - container_name: nginx-ui - restart: always - environment: - - TZ=Asia/Shanghai + nginxWebUi-server: + image: cym1102/nginxwebui:latest volumes: - - $NGINX_PATH/nginx:/etc/nginx - - $NGINX_PATH/nginx-ui:/etc/nginx-ui - ports: - - "8081:80" - - "444:443" + - type: bind + source: "$NGINX_PATH" + target: "/home/nginxWebUI" + environment: + BOOT_OPTIONS: "--server.port=8080" + network_mode: "host" + restart: always