h-lab/src/main/resources/application-local.yml.example

16 lines
799 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>
YOUTUBE_OAUTH_CLIENT_ID: <google-oauth-web-client-id>
YOUTUBE_OAUTH_CLIENT_SECRET: <google-oauth-web-client-secret>
YOUTUBE_OAUTH_REDIRECT_URI: http://localhost:8088/api/youtube/oauth/callback
# Generate once: openssl rand -base64 32
YOUTUBE_OAUTH_ENCRYPTION_KEY: <base64-encoded-32-byte-key>
# Point this at a persistent mounted volume in production.
YOUTUBE_OAUTH_SETTINGS_FILE: config/youtube-oauth.properties