{"id":16389889,"url":"https://github.com/mnishiguchi/phx_hello_docker","last_synced_at":"2026-05-20T07:39:55.584Z","repository":{"id":84540814,"uuid":"319668161","full_name":"mnishiguchi/phx_hello_docker","owner":"mnishiguchi","description":"Create a phonix app with Docker Compose following this tutorial: 【Elixir 1.11】Phoenix Framework + DB開発をDockerでやる by im.","archived":false,"fork":false,"pushed_at":"2020-12-08T14:49:23.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T13:08:36.697Z","etag":null,"topics":["docker-compose","elixir","phoenix"],"latest_commit_sha":null,"homepage":"","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/mnishiguchi.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":"2020-12-08T14:45:39.000Z","updated_at":"2020-12-08T14:51:32.000Z","dependencies_parsed_at":"2023-03-05T14:30:39.628Z","dependency_job_id":null,"html_url":"https://github.com/mnishiguchi/phx_hello_docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mnishiguchi/phx_hello_docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx_hello_docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx_hello_docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx_hello_docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx_hello_docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnishiguchi","download_url":"https://codeload.github.com/mnishiguchi/phx_hello_docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx_hello_docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33250375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T04:48:54.280Z","status":"ssl_error","status_checked_at":"2026-05-20T04:48:10.851Z","response_time":356,"last_error":"SSL_read: 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-compose","elixir","phoenix"],"created_at":"2024-10-11T04:34:29.200Z","updated_at":"2026-05-20T07:39:55.566Z","avatar_url":"https://github.com/mnishiguchi.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phoenix Hello Docker\n\nCreate a phonix app with Docker Compose following this tutorial: [【Elixir 1.11】Phoenix Framework + DB開発をDockerでやる](https://qiita.com/im_miolab/items/84d9d71d109d689d267d) by [im](https://twitter.com/im_miolab).\n\nBuild the project\n\n```sh\n$ docker-compose build\n```\n\nQuick check for the build result\n\n```sh\n$ docker-compose run --rm app elixir --version\nElixir 1.11.2 (compiled with Erlang/OTP 23)\n\n$ docker-compose run --rm app mix archive\n* hex-0.20.6\n* phx_new-1.5.7\n\n$ docker-compose run --rm db psql --version\npsql (PostgreSQL) 12.4\n\n$ docker-compose run --rm app bash -c \"node --version \u0026\u0026 npm --version\"\nv14.15.1\n6.14.8\n```\n\nCreate a phonix project\n\n```sh\n$ docker-compose run --rm app mix phx.new my_app\n```\n\nModify the generated `app/my_app/config/dev.exs` file so that config values match those in `.env`.\n\n```sh\nconfig :my_app, MyApp.Repo,\n  username: \"postgres\",   # must match .env\n  password: \"postgres\",   # must match .env\n  database: \"my_app_dev\", # must match .env\n  hostname: \"db\",         # must match \"db\" as per defined in our `docker-compose.yml` file\n```\n\nStart the containers\n\n```sh\n$ docker-compose up -d\n\n# Check the status of the containers\n$ docker-compose ps\n```\n\nCreate db\n\n```sh\n$ docker-compose run --rm app bash -c \"cd my_app \u0026\u0026 mix ecto.create\"\n```\n\nRestart the app container\n\n```sh\n$ docker-compose restart app\n```\n\nCheck logs\n\n```sh\n$ docker-compose logs\n```\n\nVisit http://localhost:4000\n\nContinue the [tutorial](https://qiita.com/im_miolab/items/84d9d71d109d689d267d#crud-webui%E5%AE%9F%E8%A3%85)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnishiguchi%2Fphx_hello_docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnishiguchi%2Fphx_hello_docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnishiguchi%2Fphx_hello_docker/lists"}