Skip to content

Commit 6fc9d8c

Browse files
committed
coturn container image
1 parent f237ffb commit 6fc9d8c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

roles/docker_container/tasks/turnserver.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- name: "{{ 'Create' if (state is undefined or 'absent' not in state) else 'Terminate' }} the turnserver container"
55
docker_container:
66
name: 'turn_server'
7-
image: "{{ 'serverror' if ansible_architecture == 'aarch64' else 'instrumentisto' }}/coturn:{{ docker_turnserver_image | default('latest') }}"
7+
image: "coturn/coturn:{{ docker_turnserver_image | default('latest') }}"
88
restart_policy: 'unless-stopped'
99
command: >
1010
-n
@@ -20,9 +20,12 @@
2020
--bps-capacity=0
2121
--stale-nonce
2222
--no-multicast-peers
23+
--min-port=49160
24+
--max-port=49200
2325
volumes:
2426
- 'turnserver-data-vol:/var/lib/coturn:rw'
2527
ports:
26-
- 0.0.0.0:3478:3478/udp
27-
- 0.0.0.0:3478:3478/tcp
28+
- 3478:3478/udp
29+
- 3478:3478/tcp
30+
- 49152-49200:49152-49200/udp
2831
state: '{{ state | default("started") }}'

0 commit comments

Comments
 (0)