On your application’s Settings page, you can find details about your application as well as manage settings like buildpacks, internal connections, and environment variables. This is also where you can delete your application.
This section shows the following details:
- Application name
- Git repository and branch
- Data center location
- Build path
- If automatic deployment is enabled or not
You can change the following by clicking Edit details:
- App name: This is the name of your application in MyKinsta.
- Branch: The Git repository branch.
- Automatic deployment on commit: When this box is checked, your application will automatically deploy each time a commit is made to the branch selected above.
- Build path: This only applies to buildpacks. This is the path in the repository to the files required to build the application. Most applications are built from the repository root, and the Build path defaults to this (.). If you have a different build path, specify it here. For example, if your application needs to be built from a subdirectory (e.g. app), enter that subdirectory path in the Build path field: app. This is also useful if you have a monorepo.
- Dockerfile path: This only applies to Dockerfiles. This is the path to your Dockerfile relative to the repository root. For example, if your Dockerfile is in the repository root, enter Dockerfile in that field. If your Dockerfile is in a subdirectory named app, enter the path to the Dockerfile: app/Dockerfile.
- Context: This only applies to Dockerfiles. This is the path in the repository we need access to so we can build your application. Most applications are built from the repository root, and you can enter the repository root (.) in the Context field. If your application needs to be built from a subdirectory (e.g. app), enter that subdirectory path in the Context field: app.
If you change anything beyond the application name, you must manually deploy your application again, which you can do on the Deployments page.
In the Internal connections section, you can view and manage your application’s internal connections with databases or other applications hosted at Kinsta. Do not copy and paste your internal connection details into your environment variables. Click Add connection and select the option to Add environment variables to access the database. This will automatically populate the environment variables from the database or other application you’re connecting to.
If you add or remove a connection, you must manually deploy your application again, which you can do on the Deployments page.
Environment variables feed your application information from outside of the running of the application. They typically set things like database connection details and API keys. For more details, see our Environment Variables guide.
If you add, edit, or remove environment variables, you must manually deploy your application again, which you can do on the Deployments page.
Suspend or Resume Application
Suspending your application stops your application from running without deleting it. This doesn’t change or remove anything in the application itself. Connections to the application remain in place but will not work while the application is suspended. You will not incur any costs for the application during the suspension.
Click Suspend application and confirm the suspension by clicking Suspend application again in the modal/pop-up.
When you’re ready to restart your application, click Resume application and confirm the restart by clicking Resume application again in the modal/pop-up.
If you no longer need the application, click Delete application to completely remove it. Deleting the application completely removes the following:
- All files
- Persistent storage disks
- Connections to other applications or databases.