feat: add docker CI workflow, nginx env config, and improve card/device view logic

This commit is contained in:
Vickey
2025-03-06 17:36:57 +08:00
parent 5282ef1abe
commit a141e10df5
27 changed files with 265 additions and 162 deletions
+1 -1
View File
@@ -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'
+5
View File
@@ -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/;
}
+5
View File
@@ -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/;
}