Skip to content

Commit

Permalink
Updated yaml and docker
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidOkulski committed Jan 7, 2025
1 parent 9c365e0 commit 4f6bb6b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 68 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
db:
image: postgres:13
image: postgres:12
hostname: ${POSTGRES_DB}
environment:
POSTGRES_USER: ${POSTGRES_USER}
Expand All @@ -23,7 +23,7 @@ services:
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
- pgdata:/home/postgres/pgdata

volumes:
pgdata:
45 changes: 0 additions & 45 deletions helm/templates/statefulset.yaml

This file was deleted.

37 changes: 16 additions & 21 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
replicaCount: 1

image:
repository: postgres
tag: "13"
pullPolicy: IfNotPresent

configMapName: template-repo-config
secretName: template-repo-app-secrets

Expand All @@ -25,23 +20,23 @@ resources:
cpu: "250m"

postgresql:
enabled: true
image:
repository: postgres
tag: "13"
username: postgres
password: postgres
database: form_templates
primary:
persistence:
enabled: true
size: 512Mi
accessModes:
- ReadWriteOnce
storageClassName: netapp-file-standard
enabled: false
external:
host: template-repo-patroni
port: 5432
usernameFrom:
secretKeyRef:
name: template-repo-patroni
key: app-db-username
passwordFrom:
secretKeyRef:
name: template-repo-patroni
key: app-db-password
databaseFrom:
secretKeyRef:
name: template-repo-patroni
key: app-db-name

service:
type: ClusterIP
postgresPort: 5432
appPort: 3000

0 comments on commit 4f6bb6b

Please sign in to comment.