Custom Apps
A custom app runs any Docker image you choose, from Docker Hub or your own registry. For private images, add a registry credential first.
Creating a custom app
Section titled “Creating a custom app”- Head over to your workspace’s “Apps” page in the sidebar, or the “Apps” tab of an instance
- Open the dropdown next to “New App”
- Hit “Custom App”
- Choose the instance
- Give the app a name
- Enter the image, for example
nginx:latest - Add environment variables, ports and volume mounts as your image needs
- Hit “Create”
Serving a website
Section titled “Serving a website”- Open the custom app form, as in Creating a custom app
- Tick “HTTP” on one TCP port
- Choose a subdomain under “Custom Subdomain”
We point that address at the port. An app can have one HTTP port.
Storage
Section titled “Storage”Add a volume mount for any folder your app writes data to, or the data is lost when the app is redeployed.
| Type | Use it for |
|---|---|
| Volume | Data we manage for you, such as a database folder |
| Bind mount | A folder on the instance that you also want to reach over SSH or SFTP |
Read more about managing, updating and deleting an app in Installing an App.