{"id":22911468,"url":"https://github.com/bytedecoder/publisher-docker","last_synced_at":"2025-04-01T10:46:41.491Z","repository":{"id":38092366,"uuid":"240636057","full_name":"ByteDecoder/publisher-docker","owner":"ByteDecoder","description":"Getting Started with .NET Core, Docker, and RabbitMQ ","archived":false,"fork":false,"pushed_at":"2022-12-08T09:44:27.000Z","size":65,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T06:14:01.170Z","etag":null,"topics":["autofac-container","chsarp","console-application","docker","docker-compose","dotnet-core","rabbitmq","swagger-documentation","web-api-core","xunit-tests"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/ByteDecoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-15T03:02:46.000Z","updated_at":"2020-02-18T18:59:30.000Z","dependencies_parsed_at":"2023-01-25T06:01:00.852Z","dependency_job_id":null,"html_url":"https://github.com/ByteDecoder/publisher-docker","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/ByteDecoder%2Fpublisher-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteDecoder%2Fpublisher-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteDecoder%2Fpublisher-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteDecoder%2Fpublisher-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByteDecoder","download_url":"https://codeload.github.com/ByteDecoder/publisher-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246628417,"owners_count":20808106,"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":["autofac-container","chsarp","console-application","docker","docker-compose","dotnet-core","rabbitmq","swagger-documentation","web-api-core","xunit-tests"],"created_at":"2024-12-14T04:16:58.217Z","updated_at":"2025-04-01T10:46:41.467Z","avatar_url":"https://github.com/ByteDecoder.png","language":"C#","readme":"[![Maintainability](https://api.codeclimate.com/v1/badges/8cf4a142b799b3d10d37/maintainability)](https://codeclimate.com/github/ByteDecoder/publisher-docker/maintainability)\r\n\r\n\r\n# publisher-docker\r\n\r\nAfter pulling the project from github run:\r\n\r\n```bash\r\n$ dotnet core restore\r\n```\r\n\r\nUse VSCode, Visual Studio for Windows or MacOSX.\r\n\r\nThe docker containers, are linux containers, no Windows containers\r\n\r\n\r\n## Eunning the Project\r\n\r\n```bash\r\n$ docker-compose up --build\r\n```\r\n\r\n## RabbitMQ Managment Console\r\n\r\nWith the docker compose running, open this URL in your web browser. Credentetials **guest/guest**\r\n\r\n*http://localhost:15672*\r\n\r\n## Swagger API documentation\r\n\r\nbrowse\r\nhttp://localhost:\u003cport\u003e/swagger\r\n\r\n## Running Web service\r\n\r\n```bash\r\n$ dotnet run --project .\\publisher_api\\ \r\n```\r\n\r\n# Starting docker compose\r\n\r\nExecute at docker-compose.yml path, the next command in the terminal\r\n\r\n```bash\r\n$ docker-compose up --build \r\n$ docker-compose down\r\n```\r\n\r\n## Running the worker\r\n\r\n```bash\r\n$  dotnet run --project .\\worker\\\r\n$  docker run my_worker\r\n```\r\n\r\n## Creating docker image from Dockerfile\r\n\r\n```bash\r\n$ docker build -t my_publisher_api .\r\n$ docker build -f ./Dockerfile -t my_worker ..\r\n```\r\n\r\n## Docker - Start docker from an docker image\r\n\r\n```bash\r\n$ docker run my_publisher_api \r\n```\r\n\r\n## Docker - Eliminating stopped containers\r\n\r\n```bash\r\n$ docker system prune\r\n```\r\n\r\n## Docker - Display all container \u0026\u0026 images\r\n\r\n```bash\r\n$ docker images ls\r\n$ docker container ls\r\n$ docker ps -a\r\n$ docker rmi \u003cimage_id\u003e\r\n```\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytedecoder%2Fpublisher-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytedecoder%2Fpublisher-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytedecoder%2Fpublisher-docker/lists"}