Project settings
Use the project's Settings to change the port, secrets and access, or to pause or remove the project.
Port#
The platform picks a web service's port in this order and passes it to your program in the PORT environment variable:
- The value in Settings › Runtime settings › Port, if set.
- Otherwise, the one TCP port the image
EXPOSEs. - Otherwise,
8080.
Secrets#
Secrets are confidential values such as API keys and tokens. You enter them in the console, and your code reads them as environment variables. Each environment has its own secrets.
A saved secret never shows its value again, to anyone. Each one says who set it and when; one that Agent Lab generated, or set when a database or cache was connected, says at whose request. "in use by the running service" means it has taken effect; "takes effect after a service restart" means it waits for a restart.
Enter secrets only in the console
Don't put them in a file or a command, and don't paste them into a conversation with an AI tool.
Apply settings#
Saving runtime settings doesn't change what is running. The overview says the settings have changed; select Restart service to apply them. The old instances keep serving until the new ones are ready.
Pause, remove and delete#
| Action | What happens | Can it be undone? |
|---|---|---|
| Pause project | The project goes offline and visitors see a neutral page. Everything is kept, and no new version can be deployed while it's paused. | Yes. Select Resume project. |
| Remove project | The project goes offline now and a seven-day grace period starts. | Restore it within seven days. After that, its versions are deleted. |
| Delete permanently | Every version and address is deleted now. You type the project's name to confirm. | No. The address is never given to anyone else. |