feat: build CouchOS Melee appliance
Some checks failed
ci / verify (push) Has been cancelled

This commit is contained in:
jackmhny
2026-08-03 02:52:28 +02:00
commit 04ef2a0d74
42 changed files with 3671 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
couch.mhny.dev {
root * /var/www/couchos
handle_path /api/* {
reverse_proxy 100.64.0.15:8765 {
header_up Authorization "Bearer {env.COUCHD_BEARER_TOKEN}"
}
}
handle {
file_server
}
header {
Content-Security-Policy "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self'; connect-src 'self'; base-uri 'none'; frame-ancestors 'none'"
Permissions-Policy "camera=(), geolocation=(), microphone=()"
Referrer-Policy "no-referrer"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
}
}

View File

@@ -0,0 +1,12 @@
{
"bind_address": "100.64.0.15",
"port": 8765,
"token_file": "/home/couch/.config/couchd/token",
"couch_home": "/home/couch",
"iso_path": null,
"state_file": "/home/couch/.local/state/couchd/state.json",
"display": ":0",
"xdg_runtime_dir": null,
"xbox_bluetooth_address": null,
"launcher_shortcut": null
}

View File

@@ -0,0 +1,4 @@
[Seat:*]
autologin-user=couch
autologin-session=xfce
user-session=xfce

View File

@@ -0,0 +1,4 @@
[Login]
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
IdleAction=ignore