{"id":15707705,"url":"https://github.com/thenets/heroku-docker","last_synced_at":"2025-11-08T17:30:37.116Z","repository":{"id":87614378,"uuid":"253185476","full_name":"thenets/heroku-docker","owner":"thenets","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-05T19:26:36.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T21:46:55.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/thenets.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-04-05T08:10:06.000Z","updated_at":"2020-04-08T20:57:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ccc9f2a-2904-445f-9fea-ed898052b935","html_url":"https://github.com/thenets/heroku-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Fheroku-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Fheroku-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Fheroku-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Fheroku-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenets","download_url":"https://codeload.github.com/thenets/heroku-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239558934,"owners_count":19658934,"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":[],"created_at":"2024-10-03T20:41:09.856Z","updated_at":"2025-11-08T17:30:37.080Z","avatar_url":"https://github.com/thenets.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heroku + Docker\n\nHow to integrate Heroku automated build + Docker.\n\n## Heroku config file\n\nAdd the `heroku.yml` to the repository root. That file declares where the Dockerfile is located:\n\n```yaml\nbuild:\n  docker:\n    web: Dockerfile\n```\n\n## Customizable server port\n\nThe Heroku container support requires a non fixed port. Heroku will define an environment variable called `$PORT` that may change on every deployment. So your application needs to be flexible to have this support.\n\nIn this project you can find the use of this variable at `entrypoint.sh`:\n\n```bash\n#!/bin/bash\n\ncd /app\n\nphp -S 0.0.0.0:${PORT}\n```\n\n## Set application stack for container\n\n```bash\nheroku stack:set container -a \u003cyour_application_name\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenets%2Fheroku-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenets%2Fheroku-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenets%2Fheroku-docker/lists"}