{"id":23872001,"url":"https://github.com/devgine/traefik","last_synced_at":"2025-02-22T19:16:09.410Z","repository":{"id":264542447,"uuid":"781964181","full_name":"devgine/traefik","owner":"devgine","description":"Traefik reverse proxy using docker and TLS","archived":false,"fork":false,"pushed_at":"2024-12-09T20:06:18.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-03T15:17:49.193Z","etag":null,"topics":["docker","https","makefile","minica","self-signed-certificate","taskfile","tls","traefik"],"latest_commit_sha":null,"homepage":"","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/devgine.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":"2024-04-04T11:31:00.000Z","updated_at":"2024-12-09T20:10:59.000Z","dependencies_parsed_at":"2024-11-26T08:47:02.970Z","dependency_job_id":null,"html_url":"https://github.com/devgine/traefik","commit_stats":null,"previous_names":["devgine/stack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Ftraefik","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Ftraefik/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Ftraefik/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Ftraefik/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devgine","download_url":"https://codeload.github.com/devgine/traefik/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240222495,"owners_count":19767458,"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":["docker","https","makefile","minica","self-signed-certificate","taskfile","tls","traefik"],"created_at":"2025-01-03T15:17:53.871Z","updated_at":"2025-02-22T19:16:09.390Z","avatar_url":"https://github.com/devgine.png","language":"Shell","readme":"# Stack\n\n## About\nThis repository contains a traefik reverse proxy and a docker image to generate self-signed certificate for development projects.\n\n## Requirements\n* git\n* docker\n* docker compose\n* Taskfile (https://taskfile.dev/) OR Makefile\n\n## How to ?\n\n### Clone the project\n```shell\ngit clone git@github.com:devgine/stack.git\n```\n\n## Setup\n**Using Taskfile**\n```shell\ntask up\n```\n**Using Makefile**\n```shell\nmake up\n```\n\nVisit traefik dashboard to make sure the installation is successfully done https://dashboard.traefik.localhost\u003cbr\u003e\nOr by visiting the api https://dashboard.traefik.localhost/api/rawdata\n\n\u003e **Important**\n\u003e To use the traefik certificatem your local domain must be a subdomain of _traefik.localhost_\u003cbr\u003e\n\u003e For example : _my_project.traefik.localhost_\n\n## Help\nRun the following command to show all available jobs\n**Using Taskfile**\n```shell\ntask\n```\n**Using Makefile**\n```shell\nmake\n```\n\n## How to use services with traefik\nBelow is an example of using the nginx service with traefik\n\nAfter running the nginx container, the service should be accessible by visiting https://nginx.traefik.localhost\n```yaml\nservices:\n  nginx:\n    container_name: nginx\n    image: nginx:latest\n    labels:\n      - traefik.enable=true\n      - traefik.docker.network=traefik-network\n      - traefik.http.routers.nginx-https.rule=Host(`nginx.traefik.localhost`)\n      - traefik.http.routers.nginx-https.entrypoints=websecure\n      - traefik.http.routers.nginx-https.tls=true\n      - traefik.http.services.nginx-loadbalancer.loadbalancer.server.port=80\n    networks:\n      - traefik-network\n\nnetworks:\n  traefik-network:\n    external: true\n```\n\n## Chrome trust insecure localhost\nOpen Chrome browser and visit the below URL then allow invalid certificates for resources loaded from localhost.\n```text\nchrome://flags/#allow-insecure-localhost\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgine%2Ftraefik","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevgine%2Ftraefik","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgine%2Ftraefik/lists"}