-
Notifications
You must be signed in to change notification settings - Fork 31
/
generic.yml
26 lines (26 loc) · 1.34 KB
/
generic.yml
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
tag: generic
datastore:
- config:
hostname: !ENV ${MYSQL_HOST} # localhost or the IP of your DB
username: !ENV ${MYSQL_USERNAME} # DB username
password: !ENV ${MYSQL_PASSWORD} # DB password
db_name: !ENV ${MYSQL_DB_NAME} # The name of your DB/schema
port: 3306
type: mysql
youtube:
- config:
credentials:
- client_id: !ENV ${CLIENT_ID_GEN} # YouTube client ID (see Readme)
client_secret: !ENV ${CLIENT_SECRET_GEN} # YouTube client secret (see Readme)
api_version: v3
read_only_scope: https://www.googleapis.com/auth/youtube.force-ssl
username: !ENV ${USERNAME_GEN} # Can be omitted (automatically derived). Useful when you are using a different api key for the accumulator
load_keys_from_cloud: true # if true, cloudstore config is required. Loads the YT keys from the specified dropbox folder
keys_path: keys # The local path of the YT keys
type: normal # options: normal, simulated (simulated is just for testing)
cloudstore: # Optional
- config:
api_key: !ENV ${DROPBOX_API_KEY} # Dropbox api key, see Readme
logs_folder_path: /yt-commenter/logs # The Dropbox path where the log files are going to be being backed up
keys_folder_path: /yt-commenter/keys # The Dropbox path where the keys are going to be copied locally from
type: dropbox