mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-25 08:55:08 +00:00
fix: migrate images and configuration
fix *-nginx image env var migrate images from castlecraft to frappe
This commit is contained in:
parent
2162c63a48
commit
b05d7cbc80
4 changed files with 5 additions and 5 deletions
|
|
@ -35,7 +35,7 @@ spec:
|
||||||
mountPath: /var/www/html/sites
|
mountPath: /var/www/html/sites
|
||||||
imagePullPolicy: {{ .Values.nginxImage.pullPolicy }}
|
imagePullPolicy: {{ .Values.nginxImage.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: "FRAPPE_PYERPNEXT_PY"
|
- name: "FRAPPE_PY"
|
||||||
value: "0.0.0.0"
|
value: "0.0.0.0"
|
||||||
- name: "FRAPPE_PY_PORT"
|
- name: "FRAPPE_PY_PORT"
|
||||||
value: {{ .Values.frappePyPort | quote }}
|
value: {{ .Values.frappePyPort | quote }}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
supplementalGroups: [1000]
|
supplementalGroups: [1000]
|
||||||
containers:
|
containers:
|
||||||
- name: erpnext
|
- name: erpnext
|
||||||
image: castlecraft/erpnext-python:${VERSION}
|
image: frappe/erpnext-worker:${VERSION}
|
||||||
command: ["docker-entrypoint.sh"]
|
command: ["docker-entrypoint.sh"]
|
||||||
args: ["backup"]
|
args: ["backup"]
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
supplementalGroups: [1000]
|
supplementalGroups: [1000]
|
||||||
containers:
|
containers:
|
||||||
- name: erpnext
|
- name: erpnext
|
||||||
image: castlecraft/erpnext-python:${VERSION}
|
image: frappe/erpnext-worker:${VERSION}
|
||||||
command: ["docker-entrypoint.sh"]
|
command: ["docker-entrypoint.sh"]
|
||||||
args: ["migrate"]
|
args: ["migrate"]
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
supplementalGroups: [1000]
|
supplementalGroups: [1000]
|
||||||
containers:
|
containers:
|
||||||
- name: erpnext
|
- name: erpnext
|
||||||
image: castlecraft/erpnext-python:${VERSION}
|
image: frappe/erpnext-worker:${VERSION}
|
||||||
command: ["docker-entrypoint.sh"]
|
command: ["docker-entrypoint.sh"]
|
||||||
args: ["new"]
|
args: ["new"]
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|
@ -22,7 +22,7 @@ spec:
|
||||||
value: ${SITE_NAME}
|
value: ${SITE_NAME}
|
||||||
- name: "DB_ROOT_USER"
|
- name: "DB_ROOT_USER"
|
||||||
value: ${DB_ROOT_USER}
|
value: ${DB_ROOT_USER}
|
||||||
- name: "DB_ROOT_PASSWORD"
|
- name: "MYSQL_ROOT_PASSWORD"
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
key: password
|
key: password
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue