Skip to content

robertonav20/backstage-demo

Repository files navigation

Backstage Demo

Backstage project is available with docker isn't necessary to run locally and install dependencies

Here the links

Useful links

Installation

  1. 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
  2. Create Kubernetes Cluster with script startup under folder tools

    ./startup.sh
  3. 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.

Kubernetes cluster

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

Run Hello World Template

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published