Add relay account access control
This commit is contained in:
1 parent
17342f9457
commit
9e49118e8e
5 files changed
+306
-66
No files matched your search
+9
-4
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
meets-relay:
|
||||
build: .
|
||||
image: git.maddin.app/maddin/meets-relay:latest
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
@@ -15,18 +15,23 @@ services:
|
||||
- "127.0.0.1:8080:8080"
|
||||
environment:
|
||||
PORT: "8080"
|
||||
RELAY_SETUP_CODE_FILE: /run/secrets/relay_setup_code
|
||||
INVITATION_TTL_SECONDS: "86400"
|
||||
RELAY_DATA_DIR: /data/relay
|
||||
RELAY_MAX_BYTES: "10737418240"
|
||||
RELAY_PAIRING_MAX_BYTES: "1073741824"
|
||||
RELAY_TTL_SECONDS: "604800"
|
||||
RELAY_INCOMPLETE_TTL_SECONDS: "86400"
|
||||
TURN_HOST: "${TURN_HOST:?Set TURN_HOST to the hostname of your separately operated TURN service}"
|
||||
TURN_PORT: "${TURN_PORT:-3478}"
|
||||
TURN_SHARED_SECRET: "${TURN_SHARED_SECRET:?Set TURN_SHARED_SECRET for your TURN service}"
|
||||
volumes:
|
||||
- relay_data:/data/relay
|
||||
secrets:
|
||||
- relay_setup_code
|
||||
tmpfs:
|
||||
- /tmp:rw,noexec,nosuid,size=16m
|
||||
|
||||
volumes:
|
||||
relay_data:
|
||||
|
||||
secrets:
|
||||
relay_setup_code:
|
||||
file: ${RELAY_SETUP_CODE_FILE:?Set RELAY_SETUP_CODE_FILE to a private one-time setup-code file}
|
||||
Reference in new issue
Block a user