AllenNLP
English
music
Chrunos commited on
Commit
88c13c7
·
verified ·
1 Parent(s): 4a1ca2a

Upload 2 files

Browse files
Files changed (2) hide show
  1. cookies.json +17 -0
  2. docker-compose.yml +43 -0
cookies.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "instagram": [
3
+ "mid=<replace>; ig_did=<with>; csrftoken=<your>; ds_user_id=<own>; sessionid=<cookies>"
4
+ ],
5
+ "instagram_bearer": [
6
+ "token=<token_with_no_bearer_in_front>", "token=IGT:2:<looks_like_this>"
7
+ ],
8
+ "reddit": [
9
+ "client_id=<replace_this>; client_secret=<replace_this>; refresh_token=<replace_this>"
10
+ ],
11
+ "twitter": [
12
+ "auth_token=ddba0fdcda32ec09c2762dec3da4bf94cef155e5; ct0=dcbf174c3241938b18a4387b3f3005bae78a975c4ab8667008578a91822753f3aba25c1649bfd69cadaffb32212b6d0f89594f1ce6abedfdca4ffb88874a5a59576e1f238d8d155898dada6033a718d4"
13
+ ],
14
+ "youtube_oauth": [
15
+ "access_token=ya29.a0ARW5m75EiS8EZu_ReKBFMTQzOQKoJ9-arhznHGJ9tjwG7u9U2hpTnvTnZd5Qhtrph6XOLq0EhgmffLw0bHURDwt4lMIHv58DQXim6221lokZGkJgY4nKjIGJIexnFJPxnaoncGJOjoMnWV81jcZwVx6GVJzVcU2yKGA_kPBucULsVuBVvsTaaCgYKAWMSARESFQHGX2MigZc71OQOmfHkQJPpKLzHYQ0187; refresh_token=1//0eb1FBXOzePh2CgYIARAAGA4SNwF-L9IrUoV73FRvWa7XR8U8JpAuhUFRMe2XWKHVZLOTp3rYOIQ3OHIR_tdkaxM1Txrxudo5FYk; scope=https://www.googleapis.com/auth/youtube-paid-content https://www.googleapis.com/auth/youtube; token_type=Bearer; expiry_date=2024-12-23T20:23:05.519Z"
16
+ ]
17
+ }
docker-compose.yml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ cobalt-api:
3
+ image: ghcr.io/imputnet/cobalt:10
4
+
5
+ init: true
6
+ read_only: true
7
+ restart: unless-stopped
8
+ container_name: cobalt-api
9
+
10
+ ports:
11
+ - 9000:9000/tcp
12
+ # if you use a reverse proxy (such as nginx),
13
+ # uncomment the next line and remove the one above (9000:9000/tcp):
14
+ # - 127.0.0.1:9000:9000
15
+
16
+ environment:
17
+ # replace https://api.url.example/ with your instance's url
18
+ # or else tunneling functionality won't work properly
19
+ API_URL: "http://localhost:9000/"
20
+
21
+ # if you want to use cookies for fetching data from services,
22
+ # uncomment the next line & volumes section
23
+ COOKIE_PATH: "/cookies.json"
24
+
25
+ # it's recommended to configure bot protection or api keys if the instance is public,
26
+ # see /docs/protect-an-instance.md for more info
27
+
28
+ # see /docs/run-an-instance.md for more variables that you can use here
29
+
30
+ labels:
31
+ - com.centurylinklabs.watchtower.scope=cobalt
32
+
33
+ # uncomment only if you use the COOKIE_PATH variable
34
+ # volumes:
35
+ # - ./cookies.json:/cookies.json
36
+
37
+ # watchtower updates the cobalt image automatically
38
+ watchtower:
39
+ image: ghcr.io/containrrr/watchtower
40
+ restart: unless-stopped
41
+ command: --cleanup --scope cobalt --interval 900 --include-restarting
42
+ volumes:
43
+ - /var/run/docker.sock:/var/run/docker.sock