Switch outline to cloud DB
This commit is contained in:
parent
39542c7912
commit
6f74f95997
@ -40,24 +40,24 @@ spec:
|
|||||||
app: outline
|
app: outline
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: postgres
|
# - name: postgres
|
||||||
image: postgres:9-alpine
|
# image: postgres:9-alpine
|
||||||
imagePullPolicy: IfNotPresent
|
# imagePullPolicy: IfNotPresent
|
||||||
ports:
|
# ports:
|
||||||
- containerPort: 5432
|
# - containerPort: 5432
|
||||||
name: db
|
# name: db
|
||||||
env:
|
# env:
|
||||||
- name: POSTGRES_USER
|
# - name: POSTGRES_USER
|
||||||
value: user
|
# value: user
|
||||||
- name: POSTGRES_PASSWORD
|
# - name: POSTGRES_PASSWORD
|
||||||
value: pass
|
# value: pass
|
||||||
- name: POSTGRES_DB
|
# - name: POSTGRES_DB
|
||||||
value: outline
|
# value: outline
|
||||||
- name: PGDATA
|
# - name: PGDATA
|
||||||
value: /var/lib/postgresql/data/outline
|
# value: /var/lib/postgresql/data/outline
|
||||||
volumeMounts:
|
# volumeMounts:
|
||||||
- name: data
|
# - name: data
|
||||||
mountPath: /var/lib/postgresql/data
|
# mountPath: /var/lib/postgresql/data
|
||||||
- name: redis
|
- name: redis
|
||||||
image: redis:6
|
image: redis:6
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
@ -75,8 +75,8 @@ spec:
|
|||||||
yarn db:migrate --env=production-ssl-disabled
|
yarn db:migrate --env=production-ssl-disabled
|
||||||
yarn start
|
yarn start
|
||||||
env:
|
env:
|
||||||
- name: PGSSLMODE
|
# - name: PGSSLMODE
|
||||||
value: disable
|
# value: disable
|
||||||
- name: ALLOWED_DOMAINS
|
- name: ALLOWED_DOMAINS
|
||||||
value: marcusnoble.co.uk
|
value: marcusnoble.co.uk
|
||||||
- name: OIDC_SCOPES
|
- name: OIDC_SCOPES
|
||||||
|
Loading…
Reference in New Issue
Block a user