{"id":25124550,"url":"https://github.com/mnishiguchi/phx-dock","last_synced_at":"2025-06-20T11:35:25.246Z","repository":{"id":209081400,"uuid":"723108026","full_name":"mnishiguchi/phx-dock","owner":"mnishiguchi","description":"Set up a Phoenix development environment inside a Docker container","archived":false,"fork":false,"pushed_at":"2025-02-05T00:01:58.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T03:37:50.944Z","etag":null,"topics":["docker-compose","elixir","phoenix-framework"],"latest_commit_sha":null,"homepage":"https://dev.to/mnishiguchi/build-phoenix-docker-compose-development-environment-using-phx-docker-compose-new-instead-of-mix-phxnew-20n2","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","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":"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,"zenodo":null}},"created_at":"2023-11-24T17:50:59.000Z","updated_at":"2025-02-05T00:02:02.000Z","dependencies_parsed_at":"2023-12-24T01:27:35.989Z","dependency_job_id":"c2e8dc4e-7a9b-4223-a0b8-bf29b8e78f81","html_url":"https://github.com/mnishiguchi/phx-dock","commit_stats":null,"previous_names":["mnishiguchi/phoenix-docker-compose-generator","mnishiguchi/phx-docker-compose-new"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mnishiguchi/phx-dock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx-dock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx-dock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx-dock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx-dock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnishiguchi","download_url":"https://codeload.github.com/mnishiguchi/phx-dock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnishiguchi%2Fphx-dock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260937322,"owners_count":23085662,"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-compose","elixir","phoenix-framework"],"created_at":"2025-02-08T08:16:33.976Z","updated_at":"2025-06-20T11:35:19.965Z","avatar_url":"https://github.com/mnishiguchi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phx-dock: Run Phoenix in Docker\n\n## Introduction\n\n`phx-dock` provides a simple way to set up a Phoenix development environment\ninside a Docker container without installing Elixir or Phoenix on your local\nmachine.\n\n## Installation\n\nTo install `phxd-new`, run:\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/mnishiguchi/phx-dock/main/install.sh | bash\n```\n\nThis will:\n\n- Clone the repository into `~/.config/phx-dock`.\n- Create a symlink `~/.local/bin/phxd-new` for easy access.\n\nAfter installation, you can run `phxd-new` from anywhere.\n\n## Creating a Phoenix App Using `phxd-new`\n\nUse `phxd-new` to create a new Phoenix project:\n\n```sh\nphxd-new my_app\n```\n\nThis command:\n\n- Generates a Phoenix application in `my_app/`.\n- Sets up a Docker-based development environment.\n- Copies useful `bin/` scripts for common tasks.\n\n## Running your Phoenix App in Docker\n\nAfter generating your Phoenix project with `phxd-new`, you can start your\ndevelopment environment using Docker.\n\nNavigate into your project directory:\n\n```sh\ncd my_app\n```\n\nThen, start the application:\n\n```sh\ndocker compose up\n```\n\nYour Phoenix app will be available at: http://localhost:4000\n\n## Using Livebook\n\nIf you want to use Livebook, it's already included in the setup. You can access\nit at: http://localhost:8080\n\nThis allows you to run interactive notebooks connected to your Phoenix app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnishiguchi%2Fphx-dock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnishiguchi%2Fphx-dock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnishiguchi%2Fphx-dock/lists"}