Fixed ingress misconf for k8s

This commit is contained in:
斟酌 鵬兄 2021-09-06 00:29:08 +08:00
parent 5cce3cf3e0
commit cc9c590581
2 changed files with 5 additions and 4 deletions

View File

@ -19,7 +19,7 @@ spec:
path: /srv/astrostorage
containers:
- name: web
image: 192.168.80.4:32000/sites/astrojs:b00032
image: 192.168.80.4:32000/sites/astrojs:b00034
volumeMounts:
- mountPath: "/app/cache"
name: astrojs-cache
@ -33,7 +33,7 @@ spec:
- name: redis
image: redis:6.0.8-alpine
- name: compiler
image: 192.168.80.4:32000/sites/astrojs:b00032
image: 192.168.80.4:32000/sites/astrojs:b00034
volumeMounts:
- mountPath: "/app/cache"
name: astrojs-cache
@ -61,11 +61,12 @@ kind: Ingress
metadata:
name: astrojs
spec:
ingressClassName: nginx
rules:
- host: botanjs.astropenguin.net
http:
paths:
- path: "/"
- path: /
pathType: Prefix
backend:
service:

View File

@ -13,7 +13,7 @@ Cache = ${SiteRoot}/cache
[BotanJS]
SrcDir = ${Paths:Runtime}/botanjs/src
CeleryBroker = redis://:@redis:6379/9
CeleryBroker = redis://:@localhost:6379/9
ClosureCompiler = /opt/utils/closure.jar
YuiCompressor = /opt/utils/yuicompressor.jar