forked from Botanical/BotanJS
Fixed ingress misconf for k8s
This commit is contained in:
parent
5cce3cf3e0
commit
cc9c590581
7
k8s.yaml
7
k8s.yaml
@ -19,7 +19,7 @@ spec:
|
|||||||
path: /srv/astrostorage
|
path: /srv/astrostorage
|
||||||
containers:
|
containers:
|
||||||
- name: web
|
- name: web
|
||||||
image: 192.168.80.4:32000/sites/astrojs:b00032
|
image: 192.168.80.4:32000/sites/astrojs:b00034
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/app/cache"
|
- mountPath: "/app/cache"
|
||||||
name: astrojs-cache
|
name: astrojs-cache
|
||||||
@ -33,7 +33,7 @@ spec:
|
|||||||
- name: redis
|
- name: redis
|
||||||
image: redis:6.0.8-alpine
|
image: redis:6.0.8-alpine
|
||||||
- name: compiler
|
- name: compiler
|
||||||
image: 192.168.80.4:32000/sites/astrojs:b00032
|
image: 192.168.80.4:32000/sites/astrojs:b00034
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/app/cache"
|
- mountPath: "/app/cache"
|
||||||
name: astrojs-cache
|
name: astrojs-cache
|
||||||
@ -61,11 +61,12 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
name: astrojs
|
name: astrojs
|
||||||
spec:
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
- host: botanjs.astropenguin.net
|
- host: botanjs.astropenguin.net
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: "/"
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
|
@ -13,7 +13,7 @@ Cache = ${SiteRoot}/cache
|
|||||||
[BotanJS]
|
[BotanJS]
|
||||||
SrcDir = ${Paths:Runtime}/botanjs/src
|
SrcDir = ${Paths:Runtime}/botanjs/src
|
||||||
|
|
||||||
CeleryBroker = redis://:@redis:6379/9
|
CeleryBroker = redis://:@localhost:6379/9
|
||||||
|
|
||||||
ClosureCompiler = /opt/utils/closure.jar
|
ClosureCompiler = /opt/utils/closure.jar
|
||||||
YuiCompressor = /opt/utils/yuicompressor.jar
|
YuiCompressor = /opt/utils/yuicompressor.jar
|
||||||
|
Loading…
Reference in New Issue
Block a user