{"id":20263629,"url":"https://github.com/springerpe/cf-traefik-buildpack","last_synced_at":"2025-07-08T04:36:17.211Z","repository":{"id":80987103,"uuid":"249940682","full_name":"SpringerPE/cf-traefik-buildpack","owner":"SpringerPE","description":"Traefik API GW","archived":false,"fork":false,"pushed_at":"2020-03-25T16:21:06.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T04:44:36.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpringerPE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-25T09:48:27.000Z","updated_at":"2023-03-22T03:03:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae63bd74-aa32-408d-9cbb-4be33f9c244a","html_url":"https://github.com/SpringerPE/cf-traefik-buildpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fcf-traefik-buildpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fcf-traefik-buildpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fcf-traefik-buildpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fcf-traefik-buildpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringerPE","download_url":"https://codeload.github.com/SpringerPE/cf-traefik-buildpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241731744,"owners_count":20010781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T11:35:46.480Z","updated_at":"2025-03-03T19:59:45.653Z","avatar_url":"https://github.com/SpringerPE.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cf-traefik-buildpack\n\nCloudfoundry buildpack to run [traefik](https://docs.traefik.io/)\n\n## Using it\n\nDeploy the example `manifest.yml`: \n\n```manifest.yml\n---\napplications:\n- name: traefik\n  memory: 512M\n  instances: 1\n  stack: cflinuxfs3\n  random-route: true\n  buildpacks:\n  - https://github.com/SpringerPE/cf-traefik-buildpack.git\n  env:\n    ADMIN_AUTH_PASSWORD: hola\n    ADMIN_AUTH_USER: admin\n#   PORT_INTERNAL\n#   ADMIN_HOST: \"admin.springernature.app\"\n#   ADMIN_PROMETHEUS: \"1\"\n```\n\nand go to `https:\u003croute\u003e/dashboard`, use the default credentials.\n\nIf you want to see an example service, have a look at `test-app` folder and\nrun `curl https:\u003croute\u003e/open` or `curl https:\u003croute\u003e/auth`.\n\n\n### Environment variables\n\nThe API/Dashboard web service always requires authentication. If **ADMIN_AUTH_USER** is not defined,\nit defaults to `admin` and **ADMIN_AUTH_PASSWORD** will be autogenerated and printed\nin stdout (you can see it with `cf logs`) and stored in\n`/home/vcap/auth/${ADMIN_AUTH_USER}.password`\n\n* **ADMIN_PREFIX** route path for api, dashboard and/or metrics endpoints, defaults to ``.\n*(It seems does not work changing api and dashboard paths)*.\n* **ADMIN_HOST** is the hostname from where `/api` and `/dashboard` are being served, by\ndefault is the first hostame assigned to the app.\n* **ADMIN_PROMETHEUS** enables/disables prometheus `/metrics` endpoint in `$ADMIN_HOST`.\n* **PORT_INTERNAL** if 0, it disables all `/api`, `/metrics` and `/dashboard`, \notherwise those will run only in this port, and if the variable is not defined,\nit runs those endpoints in the default **$PORT**.\n\nTraefik version can be specificed in a `runtime.txt` file or by defining the variable\n**VERSION_TRAEFIK** and the url can be defined with the env variable **DOWNLOAD_URL_TRAEFIK**.\n\n# Development\n\nBuildpack implemented using bash scripts to make it easy to understand and change.\n\nhttps://docs.cloudfoundry.org/buildpacks/understand-buildpacks.html\n\nThe builpack uses the `deps` and `cache` folders according the implementation purposes,\nso, the first time the buildpack is used it will download all resources, next times \nit will use the cached resources.\n\n\n# Author\n\n(c) 2020 Jose Riguera Lopez  \u003cjose.riguera@springernature.com\u003e\nSpringernature Engineering Enablement\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringerpe%2Fcf-traefik-buildpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringerpe%2Fcf-traefik-buildpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringerpe%2Fcf-traefik-buildpack/lists"}