{"id":16037894,"url":"https://github.com/joseluisq/local-dev-env","last_synced_at":"2026-01-05T21:10:44.488Z","repository":{"id":146283330,"uuid":"175011581","full_name":"joseluisq/local-dev-env","owner":"joseluisq","description":"Sample repository to reproduce a small local development environment with trusted certificates and Docker Stack. :white_check_mark:","archived":false,"fork":false,"pushed_at":"2019-03-29T07:40:56.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T04:23:31.191Z","etag":null,"topics":["development-environment","docker-stack","mkcert","tls-certificate","traefik"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/joseluisq.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}},"created_at":"2019-03-11T13:57:57.000Z","updated_at":"2020-10-27T08:03:59.000Z","dependencies_parsed_at":"2023-10-12T07:30:51.476Z","dependency_job_id":null,"html_url":"https://github.com/joseluisq/local-dev-env","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"8015d27853a0bc72fedb60b39881871848ad16de"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Flocal-dev-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Flocal-dev-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Flocal-dev-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Flocal-dev-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joseluisq","download_url":"https://codeload.github.com/joseluisq/local-dev-env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245121322,"owners_count":20564107,"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":["development-environment","docker-stack","mkcert","tls-certificate","traefik"],"created_at":"2024-10-08T22:22:08.118Z","updated_at":"2026-01-05T21:10:44.423Z","avatar_url":"https://github.com/joseluisq.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local Development Environment\n\n\u003e Sample repository to reproduce a small local development environment with [trusted development certificates](https://github.com/FiloSottile/mkcert) and [Docker Stack](https://docs.docker.com/engine/reference/commandline/stack/).\n\nFeedback welcome!\n\n## Features\n\n- [https://dev.local](https://dev.local/) domain thanks to [mkcert](https://github.com/FiloSottile/mkcert).\n- [Docker stack](https://docs.docker.com/engine/reference/commandline/stack/) examples.\n\n## Usage\n\n### Certificates\n\n1. To generate the certificates, install [mkcert](https://github.com/FiloSottile/mkcert) first and then run:\n\n```sh\nmake certs\n```\n\n2. Add `dev.local` to your `/etc/hosts` file.\n\n```sh\n# other entries...\n127.0.0.1\t\tdev.local\n# you can add your custom hostnames as well...\n127.0.0.1\t\tname-a.dev.local\n127.0.0.1\t\tname-b.dev.local\n127.0.0.1\t\tname-n.dev.local\n```\n\n## Docker stack\n\nThis sample contains [Treafik Proxy](https://github.com/containous/traefik) that you can use as proxy across your docker containers.\nIf some custom configuration is needed take a look into [docker-stack](./docker-stack) directory. \n\n### Create a proxy network\n\n```sh\nmake network\n```\n\nA `proxy_net` network will be created with `--attachable` option, so you will be able to attach your container apps to Traefik later.\n\n### Traefik proxy\n\n```sh\nmake proxy\n```\n\nNow, navigate to [https://dev.local](https://dev.local/) :tada:\n\n## Contributions\n\nFeel free to send some [Pull request](https://github.com/joseluisq/local-dev-env/pulls) or [issue](https://github.com/joseluisq/local-dev-env/issues).\n\n## License\nMIT license\n\n© 2019 [Jose Quintana](https://git.io/joseluisq)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoseluisq%2Flocal-dev-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoseluisq%2Flocal-dev-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoseluisq%2Flocal-dev-env/lists"}