add postgres and refactor code
This commit is contained in:
@@ -28,7 +28,7 @@ spec:
|
||||
- name: PORT
|
||||
value: {{ .Values.app.server.port | quote }}
|
||||
- name: CONNECTION_STRING
|
||||
value: /app/test.db
|
||||
value: {{ .Values.app.db.connection_string }}
|
||||
{{- .Values.envs | toYaml | nindent 12 }}
|
||||
|
||||
image: {{ .Values.app.image }}:{{ .Chart.AppVersion }}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
app:
|
||||
fullName: ${CI_PROJECT_TITLE}
|
||||
image: docker-registry.dopcore.com/${CI_PROJECT_PATH}
|
||||
db:
|
||||
connection_string: ${CONNECTION_STRING}
|
||||
server:
|
||||
port: ${SERVICE_PORT}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user