https://github.com/dobin/yookiterm-lxdserver
Yookiterm LXD backend server
https://github.com/dobin/yookiterm-lxdserver
Last synced: 4 months ago
JSON representation
Yookiterm LXD backend server
- Host: GitHub
- URL: https://github.com/dobin/yookiterm-lxdserver
- Owner: dobin
- License: apache-2.0
- Created: 2016-09-18T09:51:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-10-07T14:02:19.000Z (over 3 years ago)
- Last Synced: 2025-01-23T16:12:00.567Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 104 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Audit: audit.go
Awesome Lists containing this project
README
# yookiterm lxd server
The server used to deploy and access linux containers.
## What is yookiterm
Yookiterm provides per-user Linux root containers via JavasScript
terminal, and accompagning tutorials and writeups of
certain topics. It is currently used as a plattform
teaching exploit development at an university.
## Building it
```
go get
go build
```
## Config
Things to update:
* jwtsecret: A unique random string, keep it secret. Use same for yookiterm-server
```yml
jwtsecret: ""
quota_cpu: 1
quota_ram: 128
quota_disk: 5
quota_sessions: 2
quota_time: 21600
quota_time_max: 43200
quota_processes: 200
server_banned_ips:
server_console_only: false
server_containers_max: 50
server_cpu_count: 2
server_ipv6_only: true
server_maintenance: false
server_http: true
server_http_port: ":80"
server_https: true
server_https_port: ":443"
server_https_cert_file: "/etc/letsencrypt/live/container.exploit.courses/fullchain.pem"
server_https_key_file: "/etc/letsencrypt/live/container.exploit.courses/privkey.pem"
```
## Credits
Based on https://github.com/lxc/lxd-demo-server/