Skip to content

Commit 478251b

Browse files
authored
Add Heroku deployment. (#18)
1 parent 684e159 commit 478251b

File tree

6 files changed

+39
-7
lines changed

6 files changed

+39
-7
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM ghcr.io/coder/coder:v0.22.0
2+
ENTRYPOINT []

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
Install [Coder](https://github.com/coder/coder) to your preferred cloud with a pre-built package.
44

5-
| Logo | Platform Name | Status | Documentation | Deploy |
6-
| ---------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
7-
| <img src="./assets/ec2.svg" alt="AWS EC2 Logo" width="100" height="100" /> | AWS EC2 | Live ✅ | [Quickstart: AWS](https://coder.com/docs/v2/latest/quickstart/aws) | [Deploy from AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-5gxjyur2vc7rg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa) |
8-
| <img src="./assets/fly.io.svg" alt="Fly.io Logo" width="100" height="100" /> | Fly.io | Live ✅ | [Blog: Run Coder on Fly.io](https://coder.com/blog/remote-developer-environments-on-fly-io) | [Deploy Coder on FLy.io](https://coder.com/blog/remote-developer-environments-on-fly-io) |
9-
| <img src="./assets/railway.svg" alt="Railway.app Logo" width="100" height="100" /> | Railway.app | Live ✅ | [Blog: Run Coder on Railway.app](https://coder.com/blog/deploy-coder-on-railway-app) | [![Deploy Coder on Railway](https://railway.app/button.svg)](https://railway.app/template/cUQ8_P?referralCode=tfH8Uw) |
10-
| <img src="./assets/eks.svg" alt="AWS EKS Logo" width="100" height="100" /> | AWS EKS | In progress | [Docs: Coder on Kubernetes](https://coder.com/docs/v2/latest/install/kubernetes) | [Deploy from AWS Marketplace](https://example.com) |
11-
| <img src="./assets/gce.svg" alt="Google Compute Engine logo" width="100" height="100" /> | Google Compute Engine | Considering | [Guide: Google Compute Engine](https://coder.com/docs/v2/latest/platforms/google-cloud-platform) | |
5+
| Logo | Platform Name | Status | Documentation | Deploy |
6+
| ---------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| <img src="./assets/ec2.svg" alt="AWS EC2 Logo" width="100" height="100" /> | AWS EC2 | Live ✅ | [Quickstart: AWS](https://coder.com/docs/v2/latest/quickstart/aws) | [Deploy from AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-5gxjyur2vc7rg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa) |
8+
| <img src="./assets/fly.io.svg" alt="Fly.io Logo" width="100" height="100" /> | Fly.io | Live ✅ | [Blog: Run Coder on Fly.io](https://coder.com/blog/remote-developer-environments-on-fly-io) | [Deploy Coder on FLy.io](https://coder.com/blog/remote-developer-environments-on-fly-io) |
9+
| <img src="./assets/railway.svg" alt="Railway.app Logo" width="100" height="100" /> | Railway.app | Live ✅ | [Blog: Run Coder on Railway.app](https://coder.com/blog/deploy-coder-on-railway-app) | [![Deploy Coder on Railway](https://railway.app/button.svg)](https://railway.app/template/cUQ8_P?referralCode=tfH8Uw) |
10+
| <img src="./assets/heroku.svg" alt="Heroku Logo" width="100" height="100" /> | Heroku | Live ✅ | | [![Deploy Coder on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/coder/packages) |
11+
| <img src="./assets/eks.svg" alt="AWS EKS Logo" width="100" height="100" /> | AWS EKS | In progress | [Docs: Coder on Kubernetes](https://coder.com/docs/v2/latest/install/kubernetes) | [Deploy from AWS Marketplace](https://example.com) |
12+
| <img src="./assets/gce.svg" alt="Google Compute Engine logo" width="100" height="100" /> | Google Compute Engine | Considering | [Guide: Google Compute Engine](https://coder.com/docs/v2/latest/platforms/google-cloud-platform) | |

app.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "Coder",
3+
"description": "Your Self-Hosted Remote Development Platform",
4+
"website": "https://coder.com",
5+
"repository": "https://github.com/coder/packages",
6+
"logo": "https://raw.githubusercontent.com/coder/presskit/main/logos/coder_logo_black_square.png",
7+
"keywords": [ "remote", "development", "ide", "docker", "aws", "azure", "cloud", "kubernetes", "terraform" ],
8+
"formation": {
9+
"web": {
10+
"quantity": 1,
11+
"size": "basic"
12+
}
13+
},
14+
"success_url": "/setup",
15+
"addons": ["heroku-postgresql:mini"],
16+
"stack": "container",
17+
"env": {
18+
"CODER_TELEMETRY_INSTALL_SOURCE" : "heroku"
19+
}
20+
}

assets/heroku.svg

Lines changed: 2 additions & 0 deletions
Loading

heroku.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build:
2+
docker:
3+
web: heroku/Dockerfile
4+
run:
5+
web: /opt/coder server --http-address 0.0.0.0:$PORT --postgres-url $DATABASE_URL --access-url https://$HEROKU_APP_NAME.herokuapp.com

heroku/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM ghcr.io/coder/coder:v0.22.0
2+
ENTRYPOINT []

0 commit comments

Comments
 (0)