DEV Community

tation
tation

Posted on

How do I set up a new app on Coolify?

To set up a new application on Coolify, follow these general steps for a smooth deployment:

Access Coolify Dashboard: Log into your Coolify dashboard where you can manage resources and settings.

Add a New Application:

Navigate to the "Resources" section.
Select "Add New Resource". This begins the process of setting up your app.
Select Application Type:

Choose the type of application you want to deploy. Coolify supports a variety of applications, including Docker, one-click deployments for popular services (like NocoDB, Appwrite, Plausible), and custom applications.
For one-click setups, Coolify has a streamlined process for popular applications, which you can find in the "Services" section for tools like MongoDB, MySQL, and Redis​​​.
Connect a Git Repository (Optional):

If your app code is hosted on GitHub, GitLab, or Bitbucket, link your repository to Coolify. This enables automatic deployments for new commits and pull requests.
Tip: Ensure you have configured SSH keys if required by your repository provider​​.
Configure Environment Variables:

Define any necessary environment variables specific to your app (e.g., database connections, API keys). You can manage these under the application’s settings​.
Set Up Build and Deployment Options:

Configure any build settings, if applicable. For instance, you may choose settings like memory limits, CPU allocations, or the option for an "Instant Deploy."
For Docker-based apps, ensure Docker Engine is installed and configured on your server​.
Deploy:

After saving your configuration, initiate the deployment by clicking "Deploy". Coolify will then build and start your application​​.
Domain and SSL Configuration (if applicable):

If you’re hosting your application on a custom domain, Coolify provides options for setting up SSL certificates automatically through Let’s Encrypt.
Monitor and Maintain:

Once deployed, you can monitor your application’s status, view logs, and update configurations as needed. Coolify includes options for automated cleanup and resource monitoring​.
After completing these steps, your application should be live on Coolify! Let me know if you need more details on specific settings or troubleshooting steps.

Top comments (0)