# ------------------------------------------------------------------------------ # ~/_data/private.yml # The private.yml file is used to set sensitive private data used by # J1 components to configure security and authentication settings # # Product/Info: # https://jekyll.one # # Copyright (C) 2019 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE # ------------------------------------------------------------------------------ # NOTE: # As this file contains very confidential data, a productive private.yml # file should ALWAYS be excluded from ANY source published to the public # (e.g. a repo at Github) # ------------------------------------------------------------------------------ # ============================================================================== # GLOBAL settings # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ global: # used by J1 to encrypt cookies session_secret: # ============================================================================== # MODULE settings # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules: # J1 Webhook # NOTE: # ---------------------------------------------------------------------------- webhook: comment: name: user: repo: server_url: secret: # secret used at GH Webhooks payload_url: # payload url (e.g channel at smee.io) # ============================================================================== # # J1 Utility Server # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util_srv: oauth: # GH OAuth settings used for J1 Control Center (NetlifyCMS) for the # external OAuth client (base_url) # -------------------------------------------------------------------------- comment: name: user: user_url: strategy: members members: all site_url: http://localhost:40010 site_redirect_url: http://localhost:40010/auth/github/callback client_scope: repo, user client_id: client_secret: # ============================================================================== # MIDDLEWARE settings # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ middleware: # OAuth settings (J1 Auth Client) # ---------------------------------------------------------------------------- oauth: # -------------------------------------------------------------------------- # DISQUS credentials # ========================================================================== disqus: # J1 Auth client (mode APP, development system) # ------------------------------------------------------------------------ comment: name: user: client_url: http://localhost:40010 client_redirect_url: http://localhost:40010/auth/disqus/callback client_id: client_secret: # -------------------------------------------------------------------------- # GITHUB credentials # ========================================================================== github: # J1 Auth client (mode APP, development system) # ------------------------------------------------------------------------ comment: name: user: org: strategy: members members: all client_url: http://localhost:40010 client_redirect_url: http://localhost:40010/auth/github/callback client_id: client_secret: # ------------------------------------------------------------------------------ # END