diff --git a/app/app-config.production.yaml b/app/app-config.production.yaml index 0630d7c75..a1bf8141d 100644 --- a/app/app-config.production.yaml +++ b/app/app-config.production.yaml @@ -89,6 +89,26 @@ techdocs: accessKeyId: ${AWS_ACCESS_KEY_ID} secretAccessKey: ${AWS_SECRET_ACCESS_KEY} +proxy: + "/argocd/api": + target: https://argocd.devxp-tech.io/api/v1/ + changeOrigin: true + # only if your argocd api has self-signed cert + secure: true + headers: + Cookie: + $env: ARGOCD_AUTH_TOKEN + + "/grafana/api": + # May be an internal DNS + target: http://grafana.monitoring.svc/ + headers: + Authorization: Bearer ${GRAFANA_TOKEN} + + "/prometheus/api": + # url to the api and path of your hosted prometheus instance + target: http://prometheus-prometheus.monitoring.svc/api/v1/ + auth: environment: production ### Providing an auth.session.secret will enable session support in the auth-backend diff --git a/app/app-config.yaml b/app/app-config.yaml index 7b6b5e696..5bbef5e20 100644 --- a/app/app-config.yaml +++ b/app/app-config.yaml @@ -114,7 +114,7 @@ proxy: "/prometheus/api": # url to the api and path of your hosted prometheus instance - target: http://prometheus-server.monitoring.svc/api/v1/ + target: https://prometheus.devxp-tech.io//api/v1/ # '/snyk': # target: https://snyk.io/api/v1 diff --git a/docker-compose.yml b/docker-compose.yml index 5b6053a68..45630d898 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,9 +18,11 @@ services: environment: - AUTH_GITHUB_CLIENT_ID=$AUTH_GITHUB_CLIENT_ID - AUTH_GITHUB_CLIENT_SECRET=$AUTH_GITHUB_CLIENT_SECRET + - ARGOCD_AUTH_TOKEN=$ARGOCD_AUTH_TOKEN - ENV=development - GITHUB_ACCESS_TOKEN=$GITHUB_ACCESS_TOKEN - GIT_DISCOVERY_ACROSS_FILESYSTEM=1 + - GRAFANA_TOKEN=$GRAFANA_TOKEN - K8S_URL=$K8S_URL - K8S_TOKEN=$K8S_TOKEN - POSTGRES_HOST=postgres