Environments
| Name | What it is | Config |
|---|---|---|
| local | Developer machine, Docker infra, Gradle or Cargo processes | application-local.yml, gitignored env files |
| dev | Shared early environment when used | application-dev.yml |
| uat | Pre-production | infra/docker/.env.uat, resources.env presets |
| prod | https://api.splick.app/api | .env.prod, deploy.env on the operator machine |
deploy.env holds SSH targets and stays on the operator machine. It is not committed. resources.env.<profile> sets CPU and memory presets for containers.
Profiles must not point a local process at the production database. If a URL contains a production host, stop and use the tunnel or the documented restore clone.
Public traffic path: client, Cloudflare (API DNS on the VPS), Kong, service. The website is a different Cloudflare Pages project and must keep its own DNS. Rotating the VPS IP updates the api record and does not change the website or the mobile binaries, because those use the domain.