Deploying Everything Else with Flightcontrol
Don’t see your chosen framework or programming language on the list of getting started guides or deployment examples? Not a problem - if you can run your application on Linux, you can most likely deploy it with Flightcontrol.
Our three options for deployments are:
- Using Nixpacks to build your application from source code into a Docker image, without requiring you to provide a Dockerfile.
- Use your own Dockerfile to build your web application or worker process into a Docker image using our build environment. Each different process can have its own Dockerfile, so you can support a front end and a back end in the same project, for example.
- Use a pre-built Docker image from a registry like Docker Hub or the AWS Elastic Container Registry. For this case, you would be using your own build process to create an image, which Flightcontrol would then deploy for you.
Using Nixpacks
You can check the Nixpacks documentation to see the list of languages supported by Nixpacks. If Nixpacks supports your programming language, we suggest you try using Nixpacks first, as it is the easiest way to get started with Flightcontrol.
Typically, your GitHub repository will work out of the box with Nixpacks. In some cases, you may need to customize the install or start commands to match your framework’s specific requirements. This could include things like precompiling JavaScript or CSS assets, or running database migrations.
See our guide to Understanding Nixpacks for more information on how to customize your Nixpacks deployment.
Using a Dockerfile
If you can run your application in a Docker container, Flightcontrol can likely build and deploy it.
Due to how AWS Elastic Container Service works, you will need to have a Docker container for each port you want to keep open. For example, if you have a front end web application and a back end API, you will need two Docker containers, one for each port.
Prebuilt Docker Images
Last, if you use your own build process (for instance, to support bringing in dependencies from a tool like Artifactory), you can use Flightcontrol to deploy your prebuilt Docker images. You can send Flightcontrol a deployment request from your build process when the image is ready to be deployed.
For more on how to use Flightcontrol as a Continuous Deployment tool, see our page on Prebuilt Container Images.
Contacting Support
Last, if you’re having trouble with any of these options, reach out to us on our Discord server and we’ll be happy to help you get your application deployed. If you are a business customer, you can use your dedicated Slack channel to reach out to us.