{"id":16179139,"url":"https://github.com/marcopaga/treafik-getting-started-article","last_synced_at":"2025-03-19T01:30:54.937Z","repository":{"id":141714215,"uuid":"97294415","full_name":"marcopaga/Treafik-getting-started-article","owner":"marcopaga","description":"Treafik Getting started project for the blog post","archived":false,"fork":false,"pushed_at":"2023-12-15T11:47:15.000Z","size":112,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T13:46:42.174Z","etag":null,"topics":["ansible","docker-compose","traefik","vagrant"],"latest_commit_sha":null,"homepage":"https://blog.codecentric.de/en/2017/09/traefik-modern-reverse-proxy/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcopaga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-07-15T05:29:01.000Z","updated_at":"2023-02-19T18:29:36.000Z","dependencies_parsed_at":"2023-12-15T12:50:50.677Z","dependency_job_id":null,"html_url":"https://github.com/marcopaga/Treafik-getting-started-article","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/marcopaga%2FTreafik-getting-started-article","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcopaga%2FTreafik-getting-started-article/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcopaga%2FTreafik-getting-started-article/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcopaga%2FTreafik-getting-started-article/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcopaga","download_url":"https://codeload.github.com/marcopaga/Treafik-getting-started-article/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243958073,"owners_count":20374789,"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":["ansible","docker-compose","traefik","vagrant"],"created_at":"2024-10-10T05:25:34.800Z","updated_at":"2025-03-19T01:30:54.687Z","avatar_url":"https://github.com/marcopaga.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Intro\n\nThis is the companion project for the [post](https://blog.codecentric.de/en/2017/09/traefik-modern-reverse-proxy/) on the codecentric blog. You can use it to follow along and setup your own environment to play with [Traefik](https://traefik.io/).\n\nVagrant uses the ansible provisioner to bootstrap the machines. Have a look into the [provision directory](provision/) for details. The main entry file for the [server](provision/playbook-server.yml) and [client](provision/playbook-client.yml) are a good starting point.\n\nIt will create two virtual machines as a server and a client. The server will host a DNS server and a Traefik server. The client is configured to use the previously created DNS resolver.\n\n# Setup\n\nTo get started make sure you have [Vagrant](https://www.vagrantup.com/) installed on your machine. Once you are ready to go you can set the environment up:\n\n`vagrant up`\n\nThis will create the two virtual machines with the name server and client.\n\n# Usage\n\nNow you can test the configuration\n\n`vagrant ssh client`\n\nNow you work within the context of the test DNS Server and the demo Traefik instance.\n\nNow you access the whoami docker container on the server\n\n`curl whoami.server.test`  \n\n# Dashboard\n\nYou can access the traefik Dashboard from the browser of your host machine.\n\n[localhost:8080](http://localhost:8080/)\n\nThe port 8080 is explicitly exposed from the server. You can only have a look at the dashboard.\n\n# Configuration Files \n\n* [docker-compose-services.j2](provision/templates/docker-compose-services.j2)\n* [docker-compose-traefik.j2](provision/templates/docker-compose-traefik.j2)\n* [server-hostsfile.j2](provision/templates/server-hostsfile)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcopaga%2Ftreafik-getting-started-article","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcopaga%2Ftreafik-getting-started-article","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcopaga%2Ftreafik-getting-started-article/lists"}