Various bug fix due to CSP headers

SiteLibrary added name display on album view
Optimizations & removed some obsolete files
This commit is contained in:
2022-04-09 20:45:48 +08:00
parent 3b4ba29b6e
commit b0ecbe42c3
27 changed files with 214 additions and 665 deletions

View File

@@ -26,18 +26,22 @@ spec:
mountPath: "/app/cache"
containers:
- name: web
image: registry.k8s.astropenguin.net/astrojs:2022.04.05.06
image: registry.k8s.astropenguin.net/astrojs:2022.04.09.03
securityContext:
runAsGroup: 1001
runAsNonRoot: true
runAsUser: 1001
env:
- name: DEBUG
value: "0"
- name: FLASK_DEBUG
value: "0"
- name: FLASK_ENV
value: "production"
- name: RUN_MODE
value: "web"
- name: REDIS_CONN
value: "redis://:@localhost:6379/9"
volumeMounts:
- name: cache
mountPath: "/app/cache"
@@ -50,7 +54,7 @@ spec:
- name: redis
image: redis:6.0.8-alpine
- name: compiler
image: registry.k8s.astropenguin.net/astrojs:2022.04.05.06
image: registry.k8s.astropenguin.net/astrojs:2022.04.09.03
securityContext:
runAsGroup: 1001
runAsNonRoot: true
@@ -58,6 +62,10 @@ spec:
env:
- name: RUN_MODE
value: "tasks"
- name: DEBUG
value: "0"
- name: REDIS_CONN
value: "redis://:@localhost:6379/9"
volumeMounts:
- name: cache
mountPath: "/app/cache"