parametrize container
This commit is contained in:
@ -7,16 +7,16 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- name: postgres
|
||||
image: postgres:15
|
||||
image: postgres:${POSTGRES_VERSION}
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
env:
|
||||
- name: POSTGRES_PASSWORD
|
||||
value: test
|
||||
value: ${POSTGRES_PASSWORD}
|
||||
- name: POSTGRES_USER
|
||||
value: test
|
||||
value: ${POSTGRES_USER}
|
||||
- name: POSTGRES_DB
|
||||
value: test
|
||||
value: ${POSTGRES_DB}
|
||||
readinessProbe:
|
||||
exec:
|
||||
command: ["pg_isready", "-U", "postgres"]
|
||||
|
||||
Reference in New Issue
Block a user