Guides
Service Configuration
Configure build inputs, runtime settings, and deployment behavior for services
Service configuration controls how your application builds, starts, and runs. Open any service and go to the Configuration tab.
Build Settings
- Dockerfile path — Set the path if your Dockerfile is not in the repository root (e.g.,
backend/Dockerfile). - Build context — By default, the repository root is used as the build context. If your Dockerfile is in a subdirectory and uses relative paths (e.g.,
COPY . .), enable "Use Dockerfile directory as build context" to use the Dockerfile's directory instead.
See Dockerfile Requirements for examples of both approaches.
Runtime Settings
- Port — The container port your app listens on. Must match your Dockerfile's
EXPOSEdirective. - Environment variables — Key/value pairs and linked secrets passed to your running container. See Environment Variables.
Custom Domains
Use your own domain for any service. See Custom Domains for setup instructions.
Troubleshooting
| Problem | Solution |
|---|---|
| Build fails | Verify Dockerfile path and build context |
| Service unreachable | Check that the port matches your app |
| Config not applied | Confirm the latest deployment used the new settings |