|
| 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 | +[](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