Update postgres data mount point to persist.

Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
This commit is contained in:
Adam Vollrath
2023-12-12 14:30:19 -06:00
parent 9a74d65751
commit cc730fc545
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -19,11 +19,14 @@ spec:
imagePullPolicy: 'IfNotPresent'
ports:
- containerPort: 5432
env:
- name: PGDATA
value: "/data/pgdata"
envFrom:
- secretRef:
name: postgres-secrets
volumeMounts:
- mountPath: /var/lib/postgresql
- mountPath: /data
name: postgresdb
volumes:
- name: postgresdb
+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
- name: Generate UUID image name
id: uuid
run: echo "UUID_TAG_APP=$(uuidgen)" >> $GITHUB_ENV
run: echo "UUID_TAG_APP=backstage-$(uuidgen)" >> $GITHUB_ENV
- name: Docker metadata
id: meta