Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 1.11 KB

single-binary.md

File metadata and controls

37 lines (34 loc) · 1.11 KB

Deploy with single binary

  1. Create a pgrokd.yml file:
    external_url: "http://example.com"
    web:
      port: 3320
    proxy:
      port: 3000
      scheme: "http"
      domain: "example.com"
    sshd:
      port: 2222
    
    database:
      host: "localhost"
      port: 5432
      user: "REDACTED"
      password: "REDACTED"
      database: "pgrokd"
    
    identity_provider:
      type: "oidc"
      display_name: "Google"
      issuer: "https://accounts.google.com"
      client_id: "REDACTED"
      client_secret: "REDACTED"
      field_mapping:
        identifier: "email"
        display_name: "name"
        email: "email"
    #  # The required domain name, "field_mapping.email" is required to set for this to work.
    #  required_domain: "example.com"
  2. Download the latest version of the pgrokd archive from the Releases page.
  3. Launch the pgrokd in background (systemd, screen, nohup).
    1. By default, pgrokd expects the pgrokd.yml is available in the working directory. Use --config flag to specify a different path for the config file.