-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
27 lines (26 loc) · 1.07 KB
/
docker-compose.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
27
version: '3'
services:
copycat:
build:
context: .
volumes:
- 'copycat:/copycat-data'
# - './copycat-data:/copycat-data' # for local development
environment:
# The client id that the token is generated with
CLIENTID: ''
# The client secret used to regenerate the token using the refresh token
CLIENTSECRET: ''
# (deprecated) required scopes: channel_editor channel:manage:broadcast channel:edit:commercial
AUTH_TOKEN: ''
#This is where the program gets the identity from. For our purposes it's the ESA channel
READERID: 54739364
#This is where the program writes too, and starts ads on, preferably own channel. For our purposes it's the BSG channel
TARGETID: 30685577
# This is (in minutes) how often this program should check and do the thing.
INTERVAL: 2
volumes:
# this volume should contain 1 file: "token.json"
# The token file contains the raw json from the initial access token fetch request.
# During the intial setup you will need to manually upload this file.
copycat: {}