{"id":19785993,"url":"https://github.com/davidkhahn/docker-compose-review","last_synced_at":"2026-04-29T22:43:27.406Z","repository":{"id":47952255,"uuid":"214542573","full_name":"DavidKHahn/Docker-Compose-Review","owner":"DavidKHahn","description":"Tool designed to make it easier to create, deploy, and run applications by using containers.","archived":false,"fork":false,"pushed_at":"2023-01-11T00:54:08.000Z","size":120,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T03:23:49.699Z","etag":null,"topics":["docker","docker-compose","dockerfile","postgresql"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/DavidKHahn.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}},"created_at":"2019-10-11T23:07:29.000Z","updated_at":"2019-10-21T19:26:23.000Z","dependencies_parsed_at":"2023-02-08T21:01:44.145Z","dependency_job_id":null,"html_url":"https://github.com/DavidKHahn/Docker-Compose-Review","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/DavidKHahn%2FDocker-Compose-Review","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKHahn%2FDocker-Compose-Review/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKHahn%2FDocker-Compose-Review/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKHahn%2FDocker-Compose-Review/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidKHahn","download_url":"https://codeload.github.com/DavidKHahn/Docker-Compose-Review/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241119818,"owners_count":19912959,"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":["docker","docker-compose","dockerfile","postgresql"],"created_at":"2024-11-12T06:16:23.683Z","updated_at":"2025-10-27T02:13:12.507Z","avatar_url":"https://github.com/DavidKHahn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Docker Compose Setup and Review:\n\n**Docker bundles your application into an image which is a standalone executable package.  Docker executes the image inside a container and the environment inside the container is completely isolated from the host machine.**\n\n - Efficient\n - Lightweight\n - Self-Contained\n - Able to run safe anywhere and everywhere\n\nUseful Links:\n\n- https://hub.docker.com/_/node (Node container setup)\n- INFO on \"bin/bash\": https://unix.stackexchange.com/questions/398543/what-are-the-contents-of-bin-bash-and-what-do-i-do-if-i-accidentally-overwrote\n- Dockerfile commands: https://docs.docker.com/engine/reference/builder/#usage\n- https://stackoverflow.com/questions/34809646/what-is-the-purpose-of-volume-in-dockerfile (Docker Volumes)\n- https://www.linux.com/learn/docker-volumes-and-networks-compose (More on Docker Volumes)\n- https://hub.docker.com/_/postgres/ (Docker Postgres Setup Guidelines)\n\n**Docker Commands**\n\n*(NOTE: everytime the yml files are changed you need to run: 'docker-compose build' to reread file)*\n - ``docker build -t superawesomecontainer .`` creates a Docker container\n - ``docker run -it superawesomecontainer`` runs the Docker container\n - ``docker run -it -p 3000:3000 superawesomecontainer`` runs Docker container using PORT\n - ``docker run -t -d superawesomecontainer`` runs Docker in the background\n - ``docker ps`` can see all the containers that are running\n - ``docker exec -it INSERT_HASH_HERE bash`` access to Docker container\n - ``docker stop INSERT_HASH_HERE`` stops container from running\n\n Docker Compose commands:\n - ``docker-compose build`` uses Docker Compose to build an image file\n - ``docker-compose run NAME_OF_API_OR_CONTAINER`` runs Docker Compose container\n - ``docker-compose down`` brings back down any Docker containers running in the background\n - ``docker-compose up --build`` command aggregates the output of each container  and builds initial container\n - ``docker-compose up`` to bring back up a Docker container prev. built\n - ``docker-compose up -d`` to bring back up container in the background\n - ``docker-compose exec NAME_OF_CONTAINER bash`` access to container bash\n - ``docker-compose down -v`` removes volumes\n - ``docker-compose rm -v NAME_OF_VOLUME`` removes specific volume\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidkhahn%2Fdocker-compose-review","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidkhahn%2Fdocker-compose-review","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidkhahn%2Fdocker-compose-review/lists"}