{"id":17983724,"url":"https://github.com/nishanil/docker-aspnet-weather","last_synced_at":"2025-09-07T00:39:54.763Z","repository":{"id":150923394,"uuid":"363936746","full_name":"nishanil/docker-aspnet-weather","owner":"nishanil","description":"A simple demo explaining Docker, ASP.NET Core","archived":false,"fork":false,"pushed_at":"2021-05-31T14:02:51.000Z","size":704,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T13:41:24.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nishanil.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-05-03T13:21:21.000Z","updated_at":"2021-12-13T06:29:56.000Z","dependencies_parsed_at":"2023-05-03T15:47:05.803Z","dependency_job_id":null,"html_url":"https://github.com/nishanil/docker-aspnet-weather","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/nishanil%2Fdocker-aspnet-weather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishanil%2Fdocker-aspnet-weather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishanil%2Fdocker-aspnet-weather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nishanil%2Fdocker-aspnet-weather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nishanil","download_url":"https://codeload.github.com/nishanil/docker-aspnet-weather/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107828,"owners_count":20884797,"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-10-29T18:18:17.384Z","updated_at":"2025-04-04T02:13:24.959Z","avatar_url":"https://github.com/nishanil.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Docker ASP.NET Core Sample\n\nOpen the solution in Visual Studio, set \"docker-compose\" as start project and run.\n\nTo run from CLI, use `docker-compose build` and then `docker-compose up`. Navigate to `http://localhost:5902/` from the browser.\n\n## Local Kubernetes deployment (without local code build)\n\nThe deploy scripts by default uses the images from my DockerHub. Local building of the images aren't required if you are only testing the application in k8s.\n\nNavigate to k8s folder and apply both the deployments to K8S.\n\n `kubectl apply -f .\\deploy-backend.yaml`\n\n `kubectl apply -f .\\deploy-frontend.yaml`\n\n\nUse the following command to check if the pods are running successfully:\n\n`kubectl get po`\n\nMake sure the containers are running:\n\n```\n➜  k8s git:(main) ✗ kubectl get po\nNAME                        READY   STATUS    RESTARTS   AGE\nbackend-5b7b5b4855-dtlhw    1/1     Running   0          4m32s\nfrontend-5f7fdfdb77-ngxfk   1/1     Running   0          4m25s\n➜  k8s git:(main) ✗\n```\n\nMap a local port and navigate to the local url:\n\n```\nkubectl port-forward svc/frontend 5600:80\n```\nNavigate to `http://localhost:5600` in a browser to verify the app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishanil%2Fdocker-aspnet-weather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnishanil%2Fdocker-aspnet-weather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishanil%2Fdocker-aspnet-weather/lists"}