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

18 lines
929 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>
# Required when saving OAuth credentials from the web UI on a remote server.
YOUTUBE_SETUP_TOKEN: <long-random-admin-setup-token>
# Point this at a persistent mounted volume in production.
YOUTUBE_OAUTH_SETTINGS_FILE: config/youtube-oauth.properties