Applications
With FL0 you can take your code and turn it into a working application, deployed as containers in our fully managed infrastructure.
Apps can provide REST or GraphQL APIs, run scheduled jobs, perform batch processing or any other kind of backend processes.
Creating Apps
Requirements
In order to create an app in FL0, you must have the following:
- Your code stored in a Github repository
- Admin permissions to the Github organization
Connecting to Github
See the section on Connecting a Workspace to Github.
Naming the App
The name you give your app will become part of the hostname of the app. See the section on Using the App for more information.
Automatic vs Manual Deployments
By default, FL0 is configured to automatically deploy the latest version your app whenever a commit is pushed to your chosen branch. You can also choose to manually deploy your code based on a nominated branch or commit hash.
Configuring Environment Variables
See the section below on Environment Variables.
Using the App
Every app is given a unique URL that is comprised of the following elements:
https://{{app-name}}-{{unique-identifier}}-{{environment}}.fl0.io
{{app-name}}
is the name you chose when creating the app{{unique-identifier}}
is a randomly generated 4 character string{{environment}}
refers to the environment in which the app is deployed- The same app will have a different URL in Development vs Production
Once successfully deployed, you can access your app using the URL found on the App Overview page.
Environment Variables
Environment variables are custom settings that can be passed into your app when FL0 builds and deploys it. These settings can have different values in Development and Production.
Read more on the Environment Variables page.
Viewing Logs
Logs from the containers running your apps can be found on the Logs tab.
- If multiple containers are running, you can select the instance (container) to view from the dropdown
- You can download logs from a specific date range by clicking the Download logs button
Scaling Apps
FL0 is configured to automatically scale the number of containers running your app depending on CPU and memory usage.