2020-05-19 15:38:38 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
spreedbackend:
|
2022-08-05 15:01:19 +02:00
|
|
|
build:
|
|
|
|
context: ..
|
|
|
|
dockerfile: docker/server/Dockerfile
|
2023-01-17 11:59:38 +01:00
|
|
|
platforms:
|
|
|
|
- "linux/amd64"
|
2020-05-19 15:38:38 +02:00
|
|
|
volumes:
|
|
|
|
- ./server.conf:/config/server.conf
|
|
|
|
network_mode: host
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
- nats
|
|
|
|
- janus
|
|
|
|
- coturn
|
|
|
|
nats:
|
2021-04-15 08:21:20 +02:00
|
|
|
image: nats:2.2.1
|
2020-05-19 15:38:38 +02:00
|
|
|
volumes:
|
|
|
|
- ./gnatsd.conf:/config/gnatsd.conf
|
|
|
|
command: ["-c", "/config/gnatsd.conf"]
|
|
|
|
network_mode: host
|
|
|
|
restart: unless-stopped
|
|
|
|
janus:
|
2022-08-05 15:01:19 +02:00
|
|
|
build: janus
|
2020-10-28 23:37:04 +01:00
|
|
|
command: ["janus", "--full-trickle"]
|
2020-05-19 15:38:38 +02:00
|
|
|
network_mode: host
|
|
|
|
restart: unless-stopped
|
|
|
|
coturn:
|
2022-05-16 10:46:25 +02:00
|
|
|
image: coturn/coturn:latest
|
2020-05-19 15:38:38 +02:00
|
|
|
network_mode: host
|
2022-05-16 10:46:25 +02:00
|
|
|
#
|
|
|
|
# Update command parameters as necessary.
|
|
|
|
#
|
|
|
|
# See https://github.com/coturn/coturn/blob/master/README.turnserver for
|
|
|
|
# available options.
|
|
|
|
command:
|
|
|
|
- "--realm"
|
|
|
|
- "nextcloud.domain.invalid"
|
|
|
|
- "--static-auth-secret"
|
|
|
|
- "static_secret_same_in_server_conf"
|
|
|
|
- "--no-stdout-log"
|
|
|
|
- "--log-file"
|
|
|
|
- "stdout"
|
|
|
|
- "--stale-nonce=600"
|
|
|
|
- "--use-auth-secret"
|
|
|
|
- "--lt-cred-mech"
|
|
|
|
- "--fingerprint"
|
|
|
|
- "--no-software-attribute"
|
|
|
|
- "--no-multicast-peers"
|
2020-05-19 15:38:38 +02:00
|
|
|
restart: unless-stopped
|