{"id":20661237,"url":"https://github.com/giljr/docker_proj_01","last_synced_at":"2026-04-10T07:14:29.346Z","repository":{"id":195096373,"uuid":"692237392","full_name":"giljr/docker_proj_01","owner":"giljr","description":"Docker On Ubuntu — PROJECT#1 Php + Node.js + Mysql — dockerSeries — Episode#1","archived":false,"fork":false,"pushed_at":"2023-09-16T15:02:13.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T12:16:53.205Z","etag":null,"topics":["docker","docker-compose","docker-container","docker-image","dockerfile","nodejs","php7"],"latest_commit_sha":null,"homepage":"https://medium.com/jungletronics/docker-on-ubuntu-project-1-511817acaa88","language":"PHP","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/giljr.png","metadata":{"files":{"readme":"README.md","changelog":"history.txt","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":"2023-09-15T22:10:24.000Z","updated_at":"2023-09-16T14:34:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"58a454a1-ca15-4b57-8059-19f543fbda07","html_url":"https://github.com/giljr/docker_proj_01","commit_stats":null,"previous_names":["giljr/docker_proj_01"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giljr%2Fdocker_proj_01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giljr%2Fdocker_proj_01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giljr%2Fdocker_proj_01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giljr%2Fdocker_proj_01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giljr","download_url":"https://codeload.github.com/giljr/docker_proj_01/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242788586,"owners_count":20185294,"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","docker-container","docker-image","dockerfile","nodejs","php7"],"created_at":"2024-11-16T19:08:04.475Z","updated_at":"2026-04-10T07:14:29.319Z","avatar_url":"https://github.com/giljr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Project Docker - Project # 1\n\n**Based on**: Ayrton Teshima - [Programador a Bordo Docker em 22 minutos - teoria e prática (Rápido!)](https://youtu.be/Kzcz-EVKBEQ?si=f9eCaj9hhruG3wV4)\n\nHello! Welcome to our Docker series. \n\nWe're here to delve into the intricacies of this technology as we believe in the \"learning by doing\" approach. \n\nJoin us on this journey by following our channel, and let's explore Docker together. Your participation is highly encouraged!\n\n\nFor this episode we are planning to develop a JavaScript API, establish a MySQL database, and create a PHP website to consume the API services.\n\nWelcome!\n\n\n\n\n## Screenshots\n\nWe are planning to develop a JavaScript API, establish a MySQL database, and create a PHP website to consume the API services.\n\n![Proj_01](https://miro.medium.com/v2/resize:fit:750/format:webp/1*j3H0e5mQq3duH6Pzrit3hg.png)\n\n\n\n\n## Run Locally\n\n\n#### How to Install Node.js and NPM\n\nTo check if Node.js is installed on your machine, \nDownload the Installer:\n\n\n [NodeJs official website](https://nodejs.org/en/download)\n\n#### Clone the project\n```bash\n  npm install\n```\n\n#### Go to the project directory\n\nCreate All Images\n```bash\n  docker build -t mysql-image -f api/db/Dockerfile .\n  docker build -t node-image -f api/Dockerfile .\n  docker build -t php-image -f website/Dockerfile .\n```\n\nRun Docker Compose\n\n```bash\n  docker-compose up -d\n```\n\nStart the server\n\n```bash\n  api: localhost:9001/products/\n  app: localhost:8888/\n```\n\n\n## Acknowledgements\n\n - [Docker em 22 minutos - teoria e prática (Rápido!) by Ayrton Teshima - Programador a Bordo ](https://youtu.be/Kzcz-EVKBEQ?si=f9eCaj9hhruG3wV4)\n - [nodejs.org](https://nodejs.org/en/download)\n - [Jungletronics - Tutorial](https://medium.com/jungletronics/)\n - [Simple eCommerce API using Flask](https://medium.com/jungletronics/simple-ecommerce-api-using-flask-b192e2079791)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiljr%2Fdocker_proj_01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiljr%2Fdocker_proj_01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiljr%2Fdocker_proj_01/lists"}