Remove hardcoded DB credentials and YouTube API key fallbacks from application.yml; resolve them from env vars or an optional, git-ignored application-local.yml (spring.config.import). Add a tracked application-local.yml.example template and ignore the real local file. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
9 lines
386 B
Plaintext
9 lines
386 B
Plaintext
# Template for local secrets. Copy to `application-local.yml` (git-ignored)
|
|
# and fill in real values, or supply these as environment variables instead.
|
|
# application.yml imports application-local.yml optionally and resolves these
|
|
# placeholders from it.
|
|
DB_URL: jdbc:postgresql://<host>:5432/<db>
|
|
DB_USERNAME: <username>
|
|
DB_PASSWORD: <password>
|
|
YOUTUBE_API_KEY: <youtube-data-api-key>
|