Added postgres database to production and staging

This commit is contained in:
Henrik Corneliussen
2026-05-08 16:54:29 +02:00
parent 0fa18ecf4f
commit 0706172e5e
5 changed files with 97 additions and 0 deletions

View File

@@ -18,5 +18,11 @@ spec:
image: registry.internal.uia.no/ikt206-g-26v-devops/group23/flask:latest
ports:
- containerPort: 5000
env:
- name: FLASK_ENV
value: staging
- name: DATABASE_URL
value: postgresql://postgres:password@postgres-service:5432/appdb
imagePullSecrets:
- name: gitlab-registry-secret