Use a local redis instance

This commit is contained in:
斟酌 鵬兄 2020-09-23 02:03:35 +08:00
parent 39ade9abe9
commit 0640442953
2 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,7 @@ spec:
path: /srv/astrostorage
containers:
- name: web
image: 192.168.80.4:32000/sites/astrojs:b00017
image: 192.168.80.4:32000/sites/astrojs:b00019
volumeMounts:
- mountPath: "/app/cache"
name: astrojs-cache
@ -30,8 +30,10 @@ spec:
value: "production"
- name: RUN_MODE
value: "web"
- name: redis
image: redis:6.0.8-alpine
- name: compiler
image: 192.168.80.4:32000/sites/astrojs:b00017
image: 192.168.80.4:32000/sites/astrojs:b00018
volumeMounts:
- mountPath: "/app/cache"
name: astrojs-cache

View File

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