update build file
This commit is contained in:
1 parent
cef6e17736
commit
94a3a0604d
4 files changed
+7
-11
No files matched your search
@@ -10,10 +10,10 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- data.zhishuyun.com
|
- chat.zhishuyun.com
|
||||||
secretName: tls-wildcard-zhishuyun-com
|
secretName: tls-wildcard-zhishuyun-com
|
||||||
rules:
|
rules:
|
||||||
- host: data.zhishuyun.com
|
- host: chat.zhishuyun.com
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- data.test.zhishuyun.com
|
- chat.test.zhishuyun.com
|
||||||
secretName: tls-wildcard-test-zhishuyun-com
|
secretName: tls-wildcard-test-zhishuyun-com
|
||||||
rules:
|
rules:
|
||||||
- host: data.test.zhishuyun.com
|
- host: chat.test.zhishuyun.com
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
|
|||||||
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
zhishuyun-data-frontend:
|
zhishuyun-chat-frontend:
|
||||||
container_name: 'zhishuyun-data-frontend'
|
container_name: 'zhishuyun-chat-frontend'
|
||||||
build: ./
|
build: ./
|
||||||
image: 'ghcr.io/zhishuyun/data-frontend:${BUILD_NUMBER}'
|
image: 'ghcr.io/zhishuyun/chat-frontend:${BUILD_NUMBER}'
|
||||||
ports:
|
ports:
|
||||||
- '8086:80'
|
- '8086:80'
|
||||||
@@ -19,10 +19,6 @@ server {
|
|||||||
proxy_pass http://data-backend:8000;
|
proxy_pass http://data-backend:8000;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /admin/ {
|
|
||||||
proxy_pass http://data-backend:8000;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|||||||
Reference in new issue
Block a user