{"id":20898405,"url":"https://github.com/mmncit/fullstack-docker","last_synced_at":"2025-03-12T20:10:40.082Z","repository":{"id":47619527,"uuid":"516215345","full_name":"mmncit/fullstack-docker","owner":"mmncit","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-23T17:13:45.000Z","size":15668,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T12:49:34.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mmncit.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":"2022-07-21T03:47:41.000Z","updated_at":"2022-07-23T17:13:48.000Z","dependencies_parsed_at":"2022-09-23T14:11:18.097Z","dependency_job_id":null,"html_url":"https://github.com/mmncit/fullstack-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/mmncit%2Ffullstack-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmncit%2Ffullstack-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmncit%2Ffullstack-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmncit%2Ffullstack-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmncit","download_url":"https://codeload.github.com/mmncit/fullstack-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243285616,"owners_count":20266848,"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-11-18T11:10:26.332Z","updated_at":"2025-03-12T20:10:40.051Z","avatar_url":"https://github.com/mmncit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fullstack-docker\n\nNode, Express and Mongo backend\n\nContainer are static and volumes are dynamic and can be connected to container for handling db\n\nCompose a docker image:\n\n```console\n$docker-compose build\n```\n\nRun the mongo service first:\n\nUp a docker image to start with specific service\n\n```console\n$docker-compose up -d mongo\n```\n\nList the containers\n\n```console\n$docker ps\n```\n\n```console\n$docker-compose up -d app\n```\n\nStop the containers\n\n```console\n$docker-compose stop\n```\n\nBuild the client docker image\n\n```console\n$cd client\n$ docker build -t mmncit/client .\n```\n\nList the images\n\n```console\n$docker images\n```\n\nRun a container using this image\n\n```console\n$docker run -p 3000:3000 mmncit/client\n```\n\nRun the fullstack container\n\n```console\n$docker-compose build\n$docker-compose up -d mongo # build the mongo, api and client in sequence\n$docker-compose up -d api\n$docker-compose up -d client\n$docker ps # list the running containers\n$docker-compose stop # stop the current container\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmncit%2Ffullstack-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmncit%2Ffullstack-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmncit%2Ffullstack-docker/lists"}