33 lines
899 B
YAML
33 lines
899 B
YAML
services:
|
|
meets-relay:
|
|
build: .
|
|
image: git.maddin.app/maddin/meets-relay:latest
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop: [ALL]
|
|
pids_limit: 64
|
|
mem_limit: 512m
|
|
ports:
|
|
- "127.0.0.1:8080:8080"
|
|
environment:
|
|
PORT: "8080"
|
|
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
|
|
tmpfs:
|
|
- /tmp:rw,noexec,nosuid,size=16m
|
|
|
|
volumes:
|
|
relay_data:
|