refactor: serve static frontend with Go APIs
This commit is contained in:
1 parent
763d2f0648
commit
b14b4fced7
101 files changed
+963
-3928
No files matched your search
@@ -1,15 +1,3 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: zhinian-runtime
|
||||
namespace: zhinian
|
||||
data:
|
||||
NODE_ENV: production
|
||||
PORT: "3000"
|
||||
ZHINIAN_AUTH_REQUIRED: "1"
|
||||
ZHINIAN_PUBLIC_BASE_URL: https://REPLACE_WITH_PUBLIC_HOST
|
||||
ZHINIAN_GO_INTERNAL_BASE_URL: http://zhinian-go-api:8080
|
||||
---
|
||||
# Go API runtime settings. Provider endpoints/models use code defaults unless
|
||||
# optional provider/OSS credentials are added to the Deployment.
|
||||
apiVersion: v1
|
||||
|
||||
Reference in new issue
Block a user