mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-09-21 05:11:58 +08:00
feat: add docker CI workflow, nginx env config, and improve card/device view logic
This commit is contained in:
@@ -19,7 +19,7 @@ services:
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: ./Dockerfile
|
||||
image: registry.cn-beijing.aliyuncs.com/dc3/dc3-web:2024.3.0.dev
|
||||
image: pnoker/dc3-web:2024.3.0.dev
|
||||
restart: always
|
||||
ports:
|
||||
- '8080:80'
|
||||
|
||||
@@ -19,6 +19,11 @@ location / {
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
location /stub_status {
|
||||
stub_status on;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location ^~/api/ {
|
||||
proxy_pass http://dc3-gateway:8000/api/;
|
||||
}
|
||||
|
||||
@@ -19,6 +19,11 @@ location / {
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
location /stub_status {
|
||||
stub_status on;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location ^~/api/ {
|
||||
proxy_pass http://${APP_API_HOST}:${APP_API_PORT}/api/;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user