Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Installs gmux and gmuxd into a dev container. gmuxd starts automatically when th
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/gmuxapp/features/gmux:1": {}
}
},
"forwardPorts": [8790]
}
```

Expand Down
7 changes: 6 additions & 1 deletion src/gmux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ Installs [gmux](https://gmux.app) and gmuxd into a dev container. gmuxd starts a
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/gmuxapp/features/gmux:1": {}
},
"forwardPorts": [8790],
"portsAttributes": {
"8790": { "label": "gmux", "onAutoForward": "silent" }
}
}
```

Port 8790 is automatically forwarded to the host. Open the forwarded URL and authenticate with the bearer token.
Add `forwardPorts` to your `devcontainer.json` so port 8790 is forwarded to the host. Open the forwarded URL and authenticate with the bearer token.

### Finding the auth token

Expand All @@ -39,6 +43,7 @@ If you need a known token (for scripting, health checks, or future host-side pee
"features": {
"ghcr.io/gmuxapp/features/gmux:1": {}
},
"forwardPorts": [8790],
"containerEnv": {
"GMUXD_TOKEN": "output-of-openssl-rand-hex-32"
}
Expand Down
7 changes: 0 additions & 7 deletions src/gmux/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,5 @@
"containerEnv": {
"GMUXD_LISTEN": "0.0.0.0"
},
"forwardPorts": [8790],
"portsAttributes": {
"8790": {
"label": "gmux",
"onAutoForward": "silent"
}
},
"entrypoint": "/usr/local/bin/gmuxd-start.sh"
}
Loading