EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit cf6cd490 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

update command paths /opt/core

parent 91ec38c9
No related branches found
No related tags found
No related merge requests found
Pipeline #20889 passed
......@@ -49,7 +49,7 @@ RUN apt update && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
pip3 install --no-cache-dir -r requirements.txt
ENV INSTANCE_ID="prism-view-server_core" \
ENV INSTANCE_ID="view-server_core" \
INSTANCE_NAME="pvs_instance"\
INSTANCE_DIR="/var/www/pvs/dev/pvs_instance/" \
COLLECTION= \
......@@ -79,7 +79,7 @@ ENV INSTANCE_ID="prism-view-server_core" \
REDIS_REGISTER_SUCCESS_KEY="register-success_set" \
REDIS_DEREGISTER_QUEUE_KEY="deregister_queue" \
REDIS_DEREGISTER_PATH_QUEUE_KEY="deregister_path_queue" \
INIT_SCRIPTS="/configure.sh" \
INIT_SCRIPTS="/opt/core/configure.sh" \
COLLECT_STATIC="false" \
REGISTRAR_REPLACE= \
GDAL_PAM_ENABLED="NO" \
......@@ -94,6 +94,6 @@ RUN python3 setup.py install
EXPOSE 80
ENTRYPOINT ["./entrypoint.sh"]
CMD ["./run-httpd.sh"]
CMD ["/opt/core/run-httpd.sh"]
LABEL version="2.0.25"
......@@ -48,10 +48,8 @@ spec:
value: {{ .Release.Name }}-redis-master
- name: INIT_SCRIPTS
value: /opt/core/configure.sh /opt/core/init-db.sh /opt/core/initialized.sh
- name: INSTALL_DIR
value: /var/www/pvs/dev/
- name: INSTANCE_ID
value: prism-view-server_registrar
value: view-server_registrar
- name: STARTUP_SCRIPTS
value: /opt/core/wait-initialized.sh {{- range $script := .Values.global.env.startup_scripts }} {{ $script }}{{ end }}
- name: WAIT_SERVICES
......
......@@ -50,8 +50,6 @@ spec:
periodSeconds: 10
resources:
{{- toYaml .Values.resources | nindent 12 }}
args:
- /opt/core/run-httpd.sh
env:
{{- range $key, $value := .Values.global.env }}
- name: {{ $key }}
......@@ -61,10 +59,8 @@ spec:
value: {{ .Release.Name }}-database
- name: INIT_SCRIPTS
value: /opt/core/configure.sh /opt/core/init-db.sh /opt/core/initialized.sh
- name: INSTALL_DIR
value: /var/www/pvs/dev/
- name: INSTANCE_ID
value: prism-view-server_renderer
value: view-server_renderer
- name: STARTUP_SCRIPTS
value: /opt/core/wait-initialized.sh {{- range $script := .Values.global.env.startup_scripts }} {{ $script }}{{ end }}
- name: WAIT_SERVICES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment