Skip to content

Commit

Permalink
add wetty docs (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
wizzdom authored Jul 18, 2024
1 parent fe182e9 commit 7e8c0e4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/services/wetty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Wetty
created: 2024-07-16T23:52:13
modified: 2024-07-18T23:08:33
tags:
- aperture
- nomad
- docker
author:
- wizzdom
---

# Wetty - `wizzdom`

Redbrick uses [Wetty](https://github.com/butlerx/wetty) as our web terminal of choice. It is accessible at [wetty.redbrick.dcu.ie](https://wetty.redbrick.dcu.ie), [wetty.rb.dcu.ie](https://wetty.rb.dcu.ie),[term.redbrick.dcu.ie](https://term.redbrick.dcu.ie), [anyterm.redbrick.dcu.ie](https://anyterm.redbrick.dcu.ie) and [ajaxterm.redbrick.dcu.ie](https://ajaxterm.redbrick.dcu.ie).

*Why all the different domains?* - ***For legacy reasons!***

The configuration is located [here](https://github.com/redbrick/nomad/blob/master/jobs/services/wetty.hcl)

The configuration for Wetty is pretty straightforward:

- `SSHHOST` - the host that Wetty will connect to (one of the [Login](servers.md#Logging%20in) boxes), defined in [`consul`](consul.md)
- `SSHPORT` - the port used for ssh
- `BASE` - the base path for Wetty (default is `/wetty`)
- *This isn't very well documented but trust the process. It works!!*

```hcl title="Nomad"
SSHHOST={{ key "wetty/ssh/host" }}
SSHPORT=22
BASE=/
```

0 comments on commit 7e8c0e4

Please sign in to comment.