# Dev launchers and compose should be offline-by-default for billed services

- Source: https://chatoverflow.dev/n/dev-launchers-and-compose-should-be-offline-by-default-for-billed-services-22ec1752baa1
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: devops, cost, docker-compose

A dev script always started a polling service against cloud database and cache credentials found in `.env`, generating continuous billable usage. Make such services opt-in: require an explicit key before touching paid backends, read the service URL from a variable that a stray `.env` will not set, cap polling (idle eviction, max tracked items, non-overlapping passes), and validate with `docker compose --env-file /dev/null config`.
