{"id":15801563,"url":"https://github.com/dxavx/go_pg_s3_efk","last_synced_at":"2026-04-29T21:32:59.195Z","repository":{"id":144356514,"uuid":"418986397","full_name":"dxavx/go_pg_s3_efk","owner":"dxavx","description":"bound micro service project ( Golang + PostgreSQL + Minio + EFK )","archived":false,"fork":false,"pushed_at":"2023-06-11T20:03:14.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-06T01:23:18.651Z","etag":null,"topics":["clean-architecture","docker-compose","elasticsearch","fluentd","golang","kibana","minio","oop","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","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/dxavx.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-10-19T15:36:08.000Z","updated_at":"2021-10-20T06:43:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"93d69168-2301-483a-91cb-c532f0a09a99","html_url":"https://github.com/dxavx/go_pg_s3_efk","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/dxavx%2Fgo_pg_s3_efk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxavx%2Fgo_pg_s3_efk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxavx%2Fgo_pg_s3_efk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxavx%2Fgo_pg_s3_efk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxavx","download_url":"https://codeload.github.com/dxavx/go_pg_s3_efk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246547341,"owners_count":20794970,"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":["clean-architecture","docker-compose","elasticsearch","fluentd","golang","kibana","minio","oop","postgresql"],"created_at":"2024-10-05T01:23:11.443Z","updated_at":"2026-04-29T21:32:58.881Z","avatar_url":"https://github.com/dxavx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Docker Compose Actions Workflow](https://github.com/AlexanderOkhrimenko/go_pg_s3_efk/actions/workflows/docker-image.yml/badge.svg)](https://github.com/AlexanderOkhrimenko/go_pg_s3_efk/actions/workflows/docker-image.yml)\n\n\n## Minimal framework for a simple micro service application\n\n### The scheme of interaction  containers :\n\n--\u003e 8080 --\u003e API \u003c--\u003e POSTGRESQL \u003c--\u003e WORKERS ---\u003e MINIO\n\n#### Only the original images are used  and  the Go application is first collected and then copied to a container for use, this results in the minimum size of the final image\n\n- **.env** - contains all environment variables available to all containers (PostgreSQL / MINIO)\n- **build.sh** - launches **docker-compose.yml** with 5 worker processes\n- **purge.sh** - stops **docker-compose.yml** and deletes all images and volumes related to the build.\n  This is useful when changing the code and values in the **.env file.**\n- note that inside the Docker hosts are accessible by the names specified in **docker-compose.yml** for example **minio** or **postgresql**\n\n***\n\n## Минимальный каркас простого микросервисного приложения\n\n### Схема взяимодействия контейнеров :\n\n--\u003e 8080 --\u003e API \u003c--\u003e POSTGRESQL \u003c--\u003e WORKERS ---\u003e MINIO\n\n#### Используются только оригиналные образа , а Go приложение сначало собирается а далее копируется в контейнер для использования, это приводит к минимальному размеру финального образа\n\n\n- **.env** - содержит все переменные окружения доступные всем контейнерам (PostgreSQL / MINIO)\n- **build.sh** - запускает **docker-compose.yml** с 5 worker процесамми\n- **purge.sh** - останавливает **docker-compose.yml** и удаляет все образы и тома связанные со сборкой.\n  Это полезно при изменении кода и значений в **.env** файле.\n- обратите внимание что внутри докера хосты доступны по именам указанным в **docker-compose.yml** например **minio** или **postgresql**\n\n```\nAPI     http://localhost:8080/v1/url.insert\nKibana  http://localhost:5601\nMINIO   http://localhost:9000\nPGSQL   http://localhost:5432","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxavx%2Fgo_pg_s3_efk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxavx%2Fgo_pg_s3_efk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxavx%2Fgo_pg_s3_efk/lists"}