Skip to content

Commit

Permalink
Add TLS verification toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwang401 committed Jan 28, 2024
1 parent a9d2fd0 commit a5d3e87
Show file tree
Hide file tree
Showing 12 changed files with 286 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .env.docker.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
COTERM_URL=
CONVOY_URL=
TOKEN=
COTERM_TOKEN=

DANGEROUS_DISABLE_TLS_VERIFICATION=false
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
CONVOY_URL=
TOKEN=
COTERM_TOKEN=

DANGEROUS_DISABLE_TLS_VERIFICATION=false

# For development purposes...
BACKEND_URL=
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Svelte, Coterm is built for performance, and every millisecond counts.
## Quick start

```
docker run -p 3000:3000 -e CONVOY_URL="<panel url>" -e TOKEN="<coterm token>" ghcr.io/convoypanel/coterm:latest
docker run -p 3000:3000 -e CONVOY_URL="<panel url>" -e COTERM_TOKEN="<coterm token>" ghcr.io/convoypanel/coterm:latest
```

The port can be modified by editing the first number to a different value. For example, if you want to broadcast on port
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"dev": "vite dev",
"dev:backend": "cargo watch -- cargo run --manifest-path=\"./src-rust/Cargo.toml\"",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
Expand Down
Loading

0 comments on commit a5d3e87

Please sign in to comment.