mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: update demo
This commit is contained in:
parent
ce8c1b1268
commit
1e827fcdd7
6 changed files with 24 additions and 2 deletions
17
docker-compose-demo.yml
Normal file
17
docker-compose-demo.yml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
nginx-demo-1:
|
||||||
|
image: uozi/nginx-ui-demo:latest
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- nginx-ui-network
|
||||||
|
ports:
|
||||||
|
- "9003:80"
|
||||||
|
|
||||||
|
nginx-demo-2:
|
||||||
|
image: uozi/nginx-ui-demo:latest
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- nginx-ui-network
|
||||||
|
networks:
|
||||||
|
nginx-ui-network:
|
|
@ -1 +1 @@
|
||||||
{"version":"1.9.9","build_id":129,"total_build":199}
|
{"version":"1.9.9","build_id":131,"total_build":201}
|
|
@ -1 +1 @@
|
||||||
{"version":"1.9.9","build_id":129,"total_build":199}
|
{"version":"1.9.9","build_id":131,"total_build":201}
|
|
@ -5,6 +5,7 @@ JwtSecret = 2E1CE615-BB15-44F5-B5BE-6B5DA3581D0F
|
||||||
Email = test@jackyu.cn
|
Email = test@jackyu.cn
|
||||||
HTTPChallengePort = 9180
|
HTTPChallengePort = 9180
|
||||||
StartCmd = bash
|
StartCmd = bash
|
||||||
|
NodeSecret = fdc7764f-92d2-454c-9640-6a09be121139
|
||||||
|
|
||||||
[nginx_log]
|
[nginx_log]
|
||||||
AccessLogPath = /var/log/nginx/access.local.log
|
AccessLogPath = /var/log/nginx/access.local.log
|
||||||
|
|
Binary file not shown.
|
@ -16,6 +16,10 @@ func RetrieveNodesStatus() {
|
||||||
|
|
||||||
env := query.Environment
|
env := query.Environment
|
||||||
|
|
||||||
|
if env == nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
envs, err := env.Find()
|
envs, err := env.Find()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue