Backstage project is available with docker isn't necessary to run locally and install dependencies
Here the links
- Postgres
- Redis
- Gitlab
- ArgoCD
- ArgoCD Swagger
-
Add these 2 hostnames to /etc/hosts
echo "127.0.0.1 gitlab.local" | sudo tee -a /etc/hosts echo "127.0.0.1 gitlab-runner.local" | sudo tee -a /etc/hosts echo "127.0.0.1 postgres.local" | sudo tee -a /etc/hosts echo "127.0.0.1 redis.local" | sudo tee -a /etc/hosts echo "127.0.0.1 argocd.local" | sudo tee -a /etc/hosts echo "127.0.0.1 hello-world-app.local" | sudo tee -a /etc/hosts echo "127.0.0.1 hello-world-service.local" | sudo tee -a /etc/hosts echo "127.0.0.1 kind-backstage-demo-cluster.local" | sudo tee -a /etc/hosts
-
Create Kubernetes Cluster with script startup under folder tools
./startup.sh
-
Tilt use docker-compose file as default
tilt up
The latest command will create and run a container of gitlab, postgres and redis. All of them are mandatory to execute backstage and own templates.
To configure kubernetes just run startup.sh under folder tools which includes
- Kind cluster called
kind-backstage-demo-cluster - NGINX ingress controller
- ArgoCD at
http://argocd.local:7443 - Backstage credentials to access to kubernetes
The entrypoint for kubernets cluster are :7080 for http and :7443 for https
NOTE: additional ingress hostname must be added to /etc/hosts
docker run --rm -d -p 3001:80/tcp gitlab.local:5050/backstage-demo/hello-world-app/hello-world-app:main-COMMIT
docker run --rm -d -p 8080:8080/tcp gitlab.local:5050/backstage-demo/hello-world-service/hello-world-service:main-COMMIT