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
|
||||
remotepath: /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
|
||||
targettype: openshift
|
||||
keephost: true
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
app: datagrepper
|
||||
routename: datagrepper
|
||||
host: "apps{{ env_suffix }}.fedoraproject.org"
|
||||
path: "/datagrepper2"
|
||||
path: "/datagrepper"
|
||||
serviceport: web
|
||||
servicename: datagrepper-web
|
||||
annotations:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# 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
|
||||
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
|
||||
value: "/etc/datagrepper/gunicorn.conf.py"
|
||||
- name: SCRIPT_NAME
|
||||
value: "/datagrepper2"
|
||||
value: "/datagrepper"
|
||||
readinessProbe:
|
||||
timeoutSeconds: 10
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 60
|
||||
httpGet:
|
||||
path: "/datagrepper2/healthz/ready"
|
||||
path: "/datagrepper/healthz/ready"
|
||||
port: 8080
|
||||
livenessProbe:
|
||||
timeoutSeconds: 10
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 60
|
||||
httpGet:
|
||||
path: "/datagrepper2/healthz/live"
|
||||
path: "/datagrepper/healthz/live"
|
||||
port: 8080
|
||||
volumes:
|
||||
- name: datagrepper-config-volume
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue