Skip to content

Commit ed4d6c4

Browse files
Merge pull request #35 from developeranaz/koyeb-deployment-support
Create Readme.md
2 parents 3adcbac + 9b04790 commit ed4d6c4

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

Koyeb/Readme.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Deploy to Koyeb
2+
3+
## How to Create an Account in Koyeb
4+
5+
1. Go to the Koyeb website at https://www.koyeb.com/ and click on the "Sign up" button at the top right corner of the page.
6+
2. You can sign up for Koyeb using your email address or a third-party authentication provider such as GitHub, GitLab, or Google.
7+
3. Once you have signed up, you will be redirected to the Koyeb dashboard. From here, you can create a new application and deploy your code to Koyeb.
8+
9+
## How to Deploy to Koyeb using the Koyeb Deploy Button
10+
11+
1. Click on the Koyeb Deploy Button link that is provided in the README.md file.
12+
2. You will be redirected to the Koyeb Deploy Button page. Here, you can select the deployment source you want to use. In this case, select "Docker".
13+
3. In the "Image" field, enter the name of the Docker image you want to deploy. For example, `developeranaz/rcindex:latest`.
14+
4. In the "Name" field, enter the name you want to give your Koyeb application. For example, `rcindex`.
15+
5. In the "Ports" field, enter the port number you want to use for your application. For example, `3000;http;/`.
16+
6. In the "env" field, enter the environment variables required to run your application. In this example, you would enter the following environment variables:
17+
18+
```
19+
CONFIG_IN_URL=<CONFIG_IN_URL>
20+
template=dark
21+
indexauthentication=false
22+
INDEXusername=<INDEXusername>
23+
INDEXpassword=<INDEXpassword>
24+
PORT=3000
25+
```
26+
27+
7. In the "Command" field, enter the command you want to use to start your application. In this case, rcindex.
28+
8. Click on the "Deploy to Koyeb" button to deploy your application.
29+
9. Your application will be deployed to Koyeb and you can monitor its status in the Koyeb dashboard.
30+
31+
## Deployment Buttons
32+
33+
[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/apps/deploy?type=docker&image=developeranaz/rcindex:latest&name=rcindex&ports=3000;http;/&env[CONFIG_IN_URL]=<CONFIG_IN_URL>&env[template]=dark&env[indexauthentication]=false&env[INDEXusername]=<INDEXusername>&env[INDEXpassword]=<INDEXpassword>&env[PORT]=3000&command=rcindex)

0 commit comments

Comments
 (0)