Update relay to current MacClient implementation
This commit is contained in:
1 parent
9e49118e8e
commit
a571721d4c
8 files changed
+1062
-33
No files matched your search
@@ -22,12 +22,18 @@ services:
|
||||
RELAY_PAIRING_MAX_BYTES: "1073741824"
|
||||
RELAY_TTL_SECONDS: "604800"
|
||||
RELAY_INCOMPLETE_TTL_SECONDS: "86400"
|
||||
SESSION_TTL_SECONDS: "2592000"
|
||||
volumes:
|
||||
- relay_data:/data/relay
|
||||
secrets:
|
||||
- relay_setup_code
|
||||
tmpfs:
|
||||
- /tmp:rw,noexec,nosuid,size=16m
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:8080/health').then(r => { if (!r.ok) process.exit(1) }).catch(() => process.exit(1))"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
relay_data:
|
||||
|
||||
Reference in new issue
Block a user