File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 18
18
1. Configure a ` .env` file
19
19
` ` ` bash
20
20
LIVETL_API_KEY=
21
- CONTROLLER_URL=
21
+ CONTROLLER_URL=wss://api.livetl.app/kanatran/
22
22
WATCHER_IMAGE=ghcr.io/livetl/watcher
23
23
API_URL=https://api.livetl.app
24
24
INTERCOM_NETWORK=kanatran
28
28
| Variable | Description | Default | Required | Values |
29
29
| :---------| :------------| :--------| :---------| :-------|
30
30
| ` LIVETL_API_KEY` | LiveTL API Key | ` ` | ✅ | String |
31
- | ` CONTROLLER_URL ` | Controller Address | ` ` | ✅ | String |
32
- | ` WATCHER_IMAGE ` | Watcher Image Name | ` watcher ` | ⚠ | String |
33
- | ` API_URL ` | API URL | ` https://api.livetl.app ` | ⚠ | String |
34
- | ` INTERCOM_NETWORK ` | Inter-container Bridge Network Name | ` kanatran` | ⚠ | String |
31
+ | ` WATCHER_IMAGE ` | Watcher Image Name | ` ghcr.io/livetl/watcher ` | ❌ | String |
32
+ | ` API_URL ` | API URL | ` https://api.livetl.app ` | ❌ | String |
33
+ | ` INTERCOM_NETWORK ` | Inter-container Bridge Network Name | ` kanatran ` | ❌ | String |
34
+ | ` CONTROLLER_URL ` | Controller Address | ` wss://api.livetl.app/ kanatran/controller ` | ❌ | String |
35
35
| ` INTERCOM_PORT` | Inter-container Bridge Port | ` 6969` | ❌ | Integer |
36
36
| ` MAX_CPU` | Max CPU Usage | ` 100%` | ❌ | Percentage (` __%` ) |
37
37
| ` MAX_MEM` | Max Memory Usage | ` 100%` | ❌ | Bytes (` __GB` , ` __MB` , etc.), Percentage (` __%` ) |
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ app.use(cors());
8
8
app . use ( bodyParser . json ( ) ) ;
9
9
const { exec} = require ( 'child_process' ) ;
10
10
const dockerstats = require ( 'dockerstats' ) ;
11
- const ENDPOINT = process . env . CONTROLLER_URL || 'ws ://localhost:8000 ' ;
11
+ const ENDPOINT = process . env . CONTROLLER_URL || 'wss ://api.livetl.app/kanatran/controller ' ;
12
12
const WebSocket = require ( 'ws' ) ;
13
13
const monitor = require ( 'node-docker-monitor' ) ;
14
14
const bytes = require ( 'bytes' ) ;
15
15
const { exit } = require ( 'process' ) ;
16
16
let ws = null ;
17
- const IMAGE_NAME = process . env . WATCHER_IMAGE || 'watcher' ;
17
+ const IMAGE_NAME = process . env . WATCHER_IMAGE || 'ghcr.io/livetl/ watcher' ;
18
18
const LIVETL_API_KEY = process . env . LIVETL_API_KEY || 'KEY_WAS_BAD' ;
19
19
const API_URL = process . env . API_URL || 'https://api.livetl.app' ;
20
20
let initDone = false ;
You can’t perform that action at this time.
0 commit comments