Move datagrepper2 to prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
8ab17dfbe8
commit
6b8b45c435
4 changed files with 5 additions and 15 deletions
|
@ -249,16 +249,6 @@
|
||||||
destname: datagrepper
|
destname: datagrepper
|
||||||
remotepath: /datagrepper
|
remotepath: /datagrepper
|
||||||
localpath: /datagrepper
|
localpath: /datagrepper
|
||||||
rewrite: true
|
|
||||||
proxyurl: http://localhost:10028
|
|
||||||
tags:
|
|
||||||
- datagrepper
|
|
||||||
|
|
||||||
- role: httpd/reverseproxy
|
|
||||||
website: apps.fedoraproject.org
|
|
||||||
destname: datagrepper2
|
|
||||||
remotepath: /datagrepper2
|
|
||||||
localpath: /datagrepper2
|
|
||||||
balancer_name: app-os
|
balancer_name: app-os
|
||||||
targettype: openshift
|
targettype: openshift
|
||||||
keephost: true
|
keephost: true
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
app: datagrepper
|
app: datagrepper
|
||||||
routename: datagrepper
|
routename: datagrepper
|
||||||
host: "apps{{ env_suffix }}.fedoraproject.org"
|
host: "apps{{ env_suffix }}.fedoraproject.org"
|
||||||
path: "/datagrepper2"
|
path: "/datagrepper"
|
||||||
serviceport: web
|
serviceport: web
|
||||||
servicename: datagrepper-web
|
servicename: datagrepper-web
|
||||||
annotations:
|
annotations:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# This is the config file for Datagrepper as intended to be used in OpenShift
|
# This is the config file for Datagrepper as intended to be used in OpenShift
|
||||||
#
|
#
|
||||||
|
|
||||||
APP_PATH = "https://apps{{ env_suffix }}.fedoraproject.org/datagrepper2"
|
APP_PATH = "https://apps{{ env_suffix }}.fedoraproject.org/datagrepper"
|
||||||
DEFAULT_QUERY_DELTA = 3600
|
DEFAULT_QUERY_DELTA = 3600
|
||||||
DATANOMMER_SQLALCHEMY_URL = "postgresql://{{ datanommerDBUser }}:{{ (env == 'production')|ternary(datanommerDBPassword, datanommer_stg_db_password) }}@db-datanommer{{ (env == 'production')|ternary('02', '01') }}{{ env_suffix }}.iad2.fedoraproject.org/datanommer2"
|
DATANOMMER_SQLALCHEMY_URL = "postgresql://{{ datanommerDBUser }}:{{ (env == 'production')|ternary(datanommerDBPassword, datanommer_stg_db_password) }}@db-datanommer{{ (env == 'production')|ternary('02', '01') }}{{ env_suffix }}.iad2.fedoraproject.org/datanommer2"
|
||||||
|
|
||||||
|
|
|
@ -48,20 +48,20 @@ spec:
|
||||||
- name: APP_CONFIG
|
- name: APP_CONFIG
|
||||||
value: "/etc/datagrepper/gunicorn.conf.py"
|
value: "/etc/datagrepper/gunicorn.conf.py"
|
||||||
- name: SCRIPT_NAME
|
- name: SCRIPT_NAME
|
||||||
value: "/datagrepper2"
|
value: "/datagrepper"
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 60
|
periodSeconds: 60
|
||||||
httpGet:
|
httpGet:
|
||||||
path: "/datagrepper2/healthz/ready"
|
path: "/datagrepper/healthz/ready"
|
||||||
port: 8080
|
port: 8080
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 60
|
periodSeconds: 60
|
||||||
httpGet:
|
httpGet:
|
||||||
path: "/datagrepper2/healthz/live"
|
path: "/datagrepper/healthz/live"
|
||||||
port: 8080
|
port: 8080
|
||||||
volumes:
|
volumes:
|
||||||
- name: datagrepper-config-volume
|
- name: datagrepper-config-volume
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue