Skip to content

Commit e3d311e

Browse files
authored
Updated env var table
1 parent 7cbbbf1 commit e3d311e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1. Configure a `.env` file
1919
```bash
2020
LIVETL_API_KEY=
21-
CONTROLLER_URL=
21+
CONTROLLER_URL=wss://api.livetl.app/kanatran/
2222
WATCHER_IMAGE=ghcr.io/livetl/watcher
2323
API_URL=https://api.livetl.app
2424
INTERCOM_NETWORK=kanatran
@@ -28,10 +28,10 @@
2828
| Variable | Description | Default | Required | Values |
2929
|:---------|:------------|:--------|:---------|:-------|
3030
| `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 |
3535
| `INTERCOM_PORT` | Inter-container Bridge Port | `6969` || Integer |
3636
| `MAX_CPU` | Max CPU Usage | `100%` || Percentage (`__%`) |
3737
| `MAX_MEM` | Max Memory Usage | `100%` || Bytes (`__GB`, `__MB`, etc.), Percentage (`__%`) |

runner/src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ app.use(cors());
88
app.use(bodyParser.json());
99
const {exec} = require('child_process');
1010
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';
1212
const WebSocket = require('ws');
1313
const monitor = require('node-docker-monitor');
1414
const bytes = require('bytes');
1515
const { exit } = require('process');
1616
let ws = null;
17-
const IMAGE_NAME = process.env.WATCHER_IMAGE || 'watcher';
17+
const IMAGE_NAME = process.env.WATCHER_IMAGE || 'ghcr.io/livetl/watcher';
1818
const LIVETL_API_KEY = process.env.LIVETL_API_KEY || 'KEY_WAS_BAD';
1919
const API_URL = process.env.API_URL || 'https://api.livetl.app';
2020
let initDone = false;

0 commit comments

Comments
 (0)