{"id":18409676,"url":"https://github.com/urnauzao/docker-imagem-nginx-https","last_synced_at":"2025-08-15T15:07:51.769Z","repository":{"id":190305036,"uuid":"682349767","full_name":"urnauzao/docker-imagem-nginx-https","owner":"urnauzao","description":"In this project, we will generate a docker image with nginx and certbot, with certbot we can create or generate new HTTPS/SSL certificates and our applications will become secure.","archived":false,"fork":false,"pushed_at":"2023-08-25T00:22:45.000Z","size":9,"stargazers_count":16,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T15:14:42.960Z","etag":null,"topics":["docker","https","nginx","ssl"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/urnauzao.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":"2023-08-24T01:37:11.000Z","updated_at":"2025-03-28T17:13:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a25d6b2-ca0a-49b5-baf4-44f10e78be0b","html_url":"https://github.com/urnauzao/docker-imagem-nginx-https","commit_stats":null,"previous_names":["urnauzao/docker-imagem-nginx-https"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/urnauzao/docker-imagem-nginx-https","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urnauzao%2Fdocker-imagem-nginx-https","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urnauzao%2Fdocker-imagem-nginx-https/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urnauzao%2Fdocker-imagem-nginx-https/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urnauzao%2Fdocker-imagem-nginx-https/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urnauzao","download_url":"https://codeload.github.com/urnauzao/docker-imagem-nginx-https/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urnauzao%2Fdocker-imagem-nginx-https/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270586080,"owners_count":24611314,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","nginx","ssl"],"created_at":"2024-11-06T03:26:35.318Z","updated_at":"2025-08-15T15:07:51.728Z","avatar_url":"https://github.com/urnauzao.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ambiente de Desenvolvimento \n\n## Realizar o build da imagem docker\n```sh\ndocker compose build\n```\n\n## Realizar o up da imagem docker\n```sh\ndocker compose up\n```\n\n# Ambiente de Produção\n- Ter configurado o server_name corretamente no arquivo `./nginx/sites-available/app.conf`\n- Iniciar o Docker Swarm\n```sh\ndocker swarm init\n```\n- Criar rede overlay para o swarm\n```sh\ndocker network create -d overlay --attachable net_swarm\n```\n\n- Execute o comando `sh sh-up.sh` para realizar todos os processos necessários para rodar a imagem no ambiente.\n## Criando certificado\n- Acesse o container docker do nginx, e então execute o seguinte comando:\n```sh\ncertbot --nginx\n```\n- Feito isso basta seguir informações e configurando as configurações que forem solicitadas.\n\n## Renovar certificado\n- Repita o mesmo passo da criação de certificado\n\n# Extras:\n🔹 Hostinger - Servidores/Hospedagem de sites [Ótimos Preços] + 20% de Desconto pelo Link:\nhttps://urnau.com.br/cupons/hostinger\n\n🔷 PLAYLIST: Curso Grátis de Deploy de aplicação Laravel em Produção:\nhttps://www.youtube.com/playlist?list=PLQsSC6fujdEncVWbJLTepdkrqSGfFiqcL","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furnauzao%2Fdocker-imagem-nginx-https","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furnauzao%2Fdocker-imagem-nginx-https","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furnauzao%2Fdocker-imagem-nginx-https/lists"}