{"id":23235858,"url":"https://github.com/billmeyer/nationalparks-mysql","last_synced_at":"2026-01-20T16:02:05.405Z","repository":{"id":89566108,"uuid":"411331871","full_name":"billmeyer/nationalparks-mysql","owner":"billmeyer","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-11T15:46:38.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T20:36:03.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/billmeyer.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":"2021-09-28T15:10:46.000Z","updated_at":"2021-10-11T15:46:41.000Z","dependencies_parsed_at":"2023-06-29T03:00:51.657Z","dependency_job_id":null,"html_url":"https://github.com/billmeyer/nationalparks-mysql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/billmeyer/nationalparks-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billmeyer%2Fnationalparks-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billmeyer%2Fnationalparks-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billmeyer%2Fnationalparks-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billmeyer%2Fnationalparks-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billmeyer","download_url":"https://codeload.github.com/billmeyer/nationalparks-mysql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billmeyer%2Fnationalparks-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T14:45:23.139Z","status":"ssl_error","status_checked_at":"2026-01-20T14:44:16.929Z","response_time":117,"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":[],"created_at":"2024-12-19T03:29:45.990Z","updated_at":"2026-01-20T16:02:05.388Z","avatar_url":"https://github.com/billmeyer.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nationalparks-mysql\n\nA simple repo to create a MySQL instance that has a single database- `nationalparks_db`, with a single table- `NATIONAL_PARKS` that contains a list of all the National Parks in the United States.\n\n## Build the Image\n\nBuild the container image by running the `build.sh` scripts:\n\n```\n$ ./build.sh\n```\n\nVerify the build:\n\n```\n$ docker images\nREPOSITORY                  TAG       IMAGE ID       CREATED          SIZE\nnationalparks-mysql-image   latest    937250d110ac   28 seconds ago   535MB\n```\n\n## Run the MySQL server instance\n\nRun the MySQL server instance in a container with:\n\n```\n$ ./run-mysql.sh\n```\n\nand verify it started:\n\n```\n$ docker ps\nCONTAINER ID   IMAGE                       COMMAND                  CREATED          STATUS         PORTS      NAMES\n07199310b4ff   nationalparks-mysql-image   \"docker-entrypoint.s…\"   10 seconds ago   Up 9 seconds   3306/tcp   nationalparks-mysql\n```\n\n## Query the MySQL instance\n\nVerify the `nationalparks_db` has been seeded properly by running:\n\n```\n$ ./run-client.sh\nUnable to find image 'mariadb:latest' locally\nlatest: Pulling from library/mariadb\n35807b77a593: Already exists\n7275e59ecb3d: Already exists\ne8aad5ad91b4: Already exists\nc9acfbaed0bf: Already exists\nc0eb3de6044a: Already exists\nbc1fe3865c9c: Already exists\n63117ccbd0ec: Already exists\n91c9aaf2ea87: Already exists\n2118d7479e34: Already exists\n6bd89e50398a: Already exists\nDigest: sha256:4bbee12b1adf299211f844ebbe89563675c46965470dcfa40f5278d63c56d030\nStatus: Downloaded newer image for mariadb:latest\n+-----+--------------+-----------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+---------------------------+----------------+----------+--------------------------+----------------+----------+-----------+\n| ID  | LOCATION_NUM | LOCATION_NAME                                                               | ADDRESS                                                                                                                          | CITY                      | STATE          | ZIP_CODE | PHONE_NUM                | FAX_NUM        | LATITUDE | LONGITUDE |\n+-----+--------------+-----------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+---------------------------+----------------+----------+--------------------------+----------------+----------+-----------+\n|   1 | ADAM         | Adams National Historical Park                                              | 135 Adams Street                                                                                                                 | Quincy                    | MA             |     2169 | (617) 770-1175           | (617) 472-7562 |  42.2564 |  -71.0112 |\n|   2 | AFBG         | African Burial Ground National Monument                                     | 290 Broadway, 1st Floor                                                                                                          | New York                  | NY             |    10007 | (212) 637-2019           | (212) 227-2026 |   40.715 |  -74.0054 |\n|   3 | ACAD         | Acadia National Park                                                        | P.O. Box 177                                                                                                                     | Bar Harbor                | ME             |     4609 | (207) 288-3338           | (207) 288-8813 |  44.3386 |  -68.2733 |\n|   4 | ABLI         | Abraham Lincoln Birthplace National Historical Park                         | 2995 Lincoln Farm Road                                                                                                           | Hodgenville               | Kentucky       |    42748 | (270) 358-3137           | (270) 358-3874 |  37.5357 |  -85.7341 |\n...\n| 356 | ZION         | Zion National Park                                                          | Zion National Park                                                                                                               | Springdale                | Utah           |    84767 | NULL                     | (435) 772-3426 |  37.2408 |  -112.942 |\n| 357 | YOSE         | Yosemite National Park                                                      | PO Box 577                                                                                                                       | Yosemite National Park    | CA             |    95389 | (209) 372-0200           | NULL           |   37.719 |  -119.557 |\n| 358 | YELL         | Yellowstone National Park                                                   | P.O. Box 168                                                                                                                     | Yellowstone National Park | WY             |    82190 | (307) 344-7381           | (307) 344-2014 |  44.4621 |  -110.642 |\n| 359 | YUCH         | Yukon Charley Rivers National Preserve                                      | Eagle Visitor Center, P.O. Box 167                                                                                               | Eagle                     | AK             |    99738 | (907) 547-2233           | (907) 547-2247 |  64.7894 |  -141.203 |\n+-----+--------------+-----------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+---------------------------+----------------+----------+--------------------------+----------------+----------+-----------+\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillmeyer%2Fnationalparks-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillmeyer%2Fnationalparks-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillmeyer%2Fnationalparks-mysql/lists"}