This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
app.example.yaml
52 lines (50 loc) · 1.9 KB
/
app.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# To use this configuration, copy its contents to a new file at the root of the project.
# Name this file app.yaml, and it will be picked up by the server.
# app.yaml is in the git ignore to prevent any secrets from leaking.
runtime: nodejs14
service: default
env_variables:
PORT: 8080
# Valid Search:
SERVERURL: "http://localhost:8080"
# Paginate is the amount to paginate results by.
PAGINATE: 30
# The cache time defines how long until an in memory resource is expired, and demands to
# be read from disk again. Measured in milliseconds.
# The default value for testing is 10 minutes = 600000
CACHETIME: 600000
# The following settings are for storing data within Google Cloud Storage
GCLOUD_STORAGE_BUCKET: "bucket_name"
GOOGLE_APPLICATION_CREDENTIALS: "local_file_path"
# The GH Client ID, for use with OAuth
GH_CLIENTID: ""
# The Client Secret to accompany the CLIENT ID
GH_CLIENTSECRET: ""
# The github username associated with the token.
GH_USERNAME: ""
# The User Agent thats used to communicate with GitHub
GH_USERAGENT: "Pulsar-Edit Bot"
# The URI that the OAuth instance should redirect to. Should end in `/api/oauth`
GH_REDIRECTURI: "https://api.pulsar-edit.dev/api/oauth"
# The following are Database settings that should be pretty self-explainitory.
DB_HOST: ""
DB_USER: ""
DB_PASS: ""
DB_DB: ""
DB_PORT: 8080
# This should be the path to a cert file for your DB
DB_SSL_CERT: ""
# Determines how verbose your logs will be.
# Requires a numeric value to be input. These below values are inclusive of values below it.
# 1 - Fatal
# 2 - Error
# 3 - Warning
# 4 - Information
# 5 - Debug
# 6 - Trace
LOG_LEVEL: 6
# Determines how Logs are written. Currently supports the following options:
# stdout - Writes the console
LOG_FORMAT: "stdout"
# This is the secret code used for our StateStore until we have a better solution.
STATE_STORE_CODE: "123"