{"id":20622065,"url":"https://github.com/g-otn/soat-challenge-docker","last_synced_at":"2026-05-04T13:33:54.354Z","repository":{"id":171213656,"uuid":"646680537","full_name":"g-otn/soat-challenge-docker","owner":"g-otn","description":"Docker image packaging of a simple Spring Boot web application for listing values from a PostgreSQL DB. Created for an optional Docker course project.","archived":false,"fork":false,"pushed_at":"2023-06-05T19:36:34.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T14:44:28.813Z","etag":null,"topics":["course-project","docker-compose","docker-network","fiap","postgresql","spring-boot","spring-data-jpa"],"latest_commit_sha":null,"homepage":"","language":"Java","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/g-otn.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":"2023-05-29T05:14:33.000Z","updated_at":"2023-10-06T23:05:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"19e09efa-af58-4235-b7d5-7e425c88b3f8","html_url":"https://github.com/g-otn/soat-challenge-docker","commit_stats":null,"previous_names":["g-otn/docker-challenge-main-features","g-otn/soat-docker-challenge","g-otn/soat-challenge-docker"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/g-otn/soat-challenge-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-otn%2Fsoat-challenge-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-otn%2Fsoat-challenge-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-otn%2Fsoat-challenge-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-otn%2Fsoat-challenge-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g-otn","download_url":"https://codeload.github.com/g-otn/soat-challenge-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-otn%2Fsoat-challenge-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275038262,"owners_count":25394640,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["course-project","docker-compose","docker-network","fiap","postgresql","spring-boot","spring-data-jpa"],"created_at":"2024-11-16T12:20:34.559Z","updated_at":"2026-05-04T13:33:49.330Z","avatar_url":"https://github.com/g-otn.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# soat-docker-challenge\nDocker image packaging of a simple Spring Boot web app to list values from PostgreSQL DB. \nCreated for an optional Docker course project.\n\n## Running\n1. Clone the project and navigate to it:\n```bash\ngit clone https://github.com/g-otn/soat-docker-challenge.git\ncd soat-docker-challenge\n```\n2. Make sure port `80` is not in use.\n3. Run Docker Compose:\n```bash\ndocker compose up\n# or\ndocker-compose up\n```\n4. Wait for the Spring Boot app to startup.\n5. Access [`http://localhost/programming-languages`](http://localhost/programming-languages) and you should \nsee a JSON array listing some programming languages,\nretrieved from the db container.\n\n## Building\nTo build the backend image:\n1. Open and configure the `backend/` project with your Java IDE.\n2. Compile and package it using Maven.\n3. Build the `Dockerfile`.\n   - e.g: `docker buildx build -t g0tn/soat-docker-challenge-backend backend`\n   - Build arguments:\n     | arg | description | default |\n     | - | - | - | \n     | `JAR_FILE` | Path to packaged .jar file | `target/dockerchallenge-0.0.1.jar` |\n   - Environment variables:\n     | env var | description | default |\n     | - | - | - | \n     | `APP_USER` | Internal user for running the app | `backend` |\n     | `APP_FOLDER` | Working directory where the jar will be copied to | `/opt/app` |\n     \n## Acknowledgments\n- Prof. Luiz Zenha and Prof. Matheus Pavani: Course teachers.\n- [marcelovbcfilho](https://github.com/marcelovbcfilho): Help with Docker Compose.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-otn%2Fsoat-challenge-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg-otn%2Fsoat-challenge-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-otn%2Fsoat-challenge-docker/lists"}