{"id":18699847,"url":"https://github.com/lily-g1/docker-compose-to-deploy-web-app","last_synced_at":"2026-04-07T09:31:43.956Z","repository":{"id":174938764,"uuid":"652986934","full_name":"Lily-G1/Docker-Compose-to-Deploy-Web-App","owner":"Lily-G1","description":"Define \u0026 run a multi-container web application using docker-compose","archived":false,"fork":false,"pushed_at":"2023-06-13T17:41:17.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T05:40:45.966Z","etag":null,"topics":["docker","docker-compose","html-css","mysql-database","php"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/Lily-G1.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":"2023-06-13T07:33:11.000Z","updated_at":"2023-07-25T14:47:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3773293-ac99-4d76-b594-73b8472dde92","html_url":"https://github.com/Lily-G1/Docker-Compose-to-Deploy-Web-App","commit_stats":null,"previous_names":["lily-g1/docker-compose-to-deploy-web-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lily-G1/Docker-Compose-to-Deploy-Web-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FDocker-Compose-to-Deploy-Web-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FDocker-Compose-to-Deploy-Web-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FDocker-Compose-to-Deploy-Web-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FDocker-Compose-to-Deploy-Web-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lily-G1","download_url":"https://codeload.github.com/Lily-G1/Docker-Compose-to-Deploy-Web-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lily-G1%2FDocker-Compose-to-Deploy-Web-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31507977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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","html-css","mysql-database","php"],"created_at":"2024-11-07T11:34:33.530Z","updated_at":"2026-04-07T09:31:43.939Z","avatar_url":"https://github.com/Lily-G1.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker-Compose-to-Deploy-Web-App\nDefine \u0026amp; run a simple, multi-container web application using docker-compose\n\n## To run :  \n- Install [Docker](https://docs.docker.com/engine/install/ubuntu/#set-up-the-repository)    \n- $ git clone https://github.com/Lily-G1/Docker-Compose-to-Deploy-Web-App.git   \n- $ cd Docker-Compose-to-Deploy-Web-App/web-app/  \n- $ docker compose build  \n- $ docker compose up -d  \n- Check browser with IP address or localhost:80. To test the app, fill form \u0026 submit  \n\n![Contact Form - Brave 6_13_2023 9_28_59 AM](https://github.com/Lily-G1/Docker-Compose-to-Deploy-Web-App/assets/104821662/826debca-09e3-4e6d-80af-0f87123528d0)  \n\nTo confirm that our app is connected to the backend, view the database to check for successful data entries:  \n- $ docker ps  \n- $ docker exec -it 'mysql container ID' /bin/bash  \n  - #mysql -u root -p   (enter mysql password)  \n   - mysql\u003e use db;  \n   - mysql\u003e select * from test;\t\t   --\u003e to view table \u0026 confirm that form data has been entered successfully  \n   - exit;\t\t   --\u003e to exit mysql  \n  - #exit\t\t   --\u003e to exit container  \n  \n![ubuntu@ip-172-31-92-33_ ~ 6_13_2023 9_31_17 AM](https://github.com/Lily-G1/Docker-Compose-to-Deploy-Web-App/assets/104821662/9347dc02-2214-4118-abb7-0062733fe3f7)  \n\n- $ docker compose down       --\u003e stops \u0026 removes containers, images, volumes, etc created by 'docker compose up -d'  \n\n## Important to note :  \n- To use a different password for MySQL, change passwords in mysql/Dockerfile and change the value of $password in form_submit.php to new password  \n- The MySQL database schema was created from the template of a mysql dump. This can be found in mysql/db.sql  \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flily-g1%2Fdocker-compose-to-deploy-web-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flily-g1%2Fdocker-compose-to-deploy-web-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flily-g1%2Fdocker-compose-to-deploy-web-app/lists"}