{"id":18852296,"url":"https://github.com/wisdomfusion/docker-compose-go-nginx-pg","last_synced_at":"2026-04-08T16:31:33.018Z","repository":{"id":72456358,"uuid":"351390895","full_name":"wisdomfusion/docker-compose-go-nginx-pg","owner":"wisdomfusion","description":"Docker Compose for golang server with nginx proxy and PostgreSQL database.","archived":false,"fork":false,"pushed_at":"2021-03-31T01:46:17.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-10T19:52:00.628Z","etag":null,"topics":["docker","docker-compose","go","golang","postgres","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","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/wisdomfusion.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":"2021-03-25T10:12:22.000Z","updated_at":"2021-03-31T01:46:19.000Z","dependencies_parsed_at":"2023-05-13T05:46:03.566Z","dependency_job_id":null,"html_url":"https://github.com/wisdomfusion/docker-compose-go-nginx-pg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wisdomfusion/docker-compose-go-nginx-pg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomfusion%2Fdocker-compose-go-nginx-pg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomfusion%2Fdocker-compose-go-nginx-pg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomfusion%2Fdocker-compose-go-nginx-pg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomfusion%2Fdocker-compose-go-nginx-pg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisdomfusion","download_url":"https://codeload.github.com/wisdomfusion/docker-compose-go-nginx-pg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomfusion%2Fdocker-compose-go-nginx-pg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31564842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","docker-compose","go","golang","postgres","postgresql"],"created_at":"2024-11-08T03:39:11.788Z","updated_at":"2026-04-08T16:31:33.002Z","avatar_url":"https://github.com/wisdomfusion.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-compose-go-nginx-pg\n\nDocker Compose for Golang Server with nginx Proxy and PostgreSQL(pg) Database\n\n## Before Usage\n\nWith this suite of docker orchestration files, I put a prefix before containers' name, `myapp` be default. In this way, all of the containers built with the compose file would come up this a `myapp-` in its title, for example, `myapp-api` and `myapp-db`, etc.\n\nCopy `.env.example` to `.env`, and change environment keys in `.env` file:\n\n- APP_NAME\n\n## Start Up\n\nWith all of your services defined in your `docker-compose` file, you just need to issue a single command to start all of the containers, create the volumes, and set up and connect the networks:\n\n```sh\ndocker-compose up -d\n```\n\nWhen you run docker-compose up for the first time, it will download all of the necessary Docker images, which might take a while. Once the images are downloaded and stored in your local machine, Compose will create your containers. The `-d` flag daemonizes the process, running your containers in the background.\n\nOnce the process is complete, use the following command to list all of the running containers:\n\n```sh\ndocker ps\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisdomfusion%2Fdocker-compose-go-nginx-pg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisdomfusion%2Fdocker-compose-go-nginx-pg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisdomfusion%2Fdocker-compose-go-nginx-pg/lists"}