This commit is contained in:
Zengtudor 2024-11-02 23:13:54 +08:00
parent 1aa46e9145
commit b7fe1cb281

View File

@ -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