Skip to content

Commit

Permalink
🐐 Fix Backstage (#947)
Browse files Browse the repository at this point in the history
* 🐐 Fix Backstage

* 🐐 Fix Backstage

* 🐐 Fix Backstage

* 🐐 Fix Backstage

* 🐐 Fix Backstage

* 🐐 Fix Backstage
  • Loading branch information
diegoluisi authored Dec 27, 2023
1 parent fb3a66a commit 6dac3f3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions app/app-config.production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6dac3f3

Please sign in to comment.