mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 18:58:10 +02:00
Fix coturn container/volume separation: use COTURN_CONTAINER for container_name and map COTURN_VOLUME to /var/lib/coturn
Details: - Removed anonoumys volume - Renamed container_name variable to COTURN_CONTAINER - Added dedicated COTURN_VOLUME with _data suffix for persistence - Mount COTURN_VOLUME into /var/lib/coturn Reference: https://chatgpt.com/share/68da6f12-b238-800f-932b-e37c8a50dddd
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
coturn:
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
image: {{ COTURN_IMAGE }}:{{ COTURN_VERSION }}
|
||||
container_name: {{ COTURN_VOLUME }}
|
||||
container_name: {{ COTURN_CONTAINER }}
|
||||
network_mode: {{ COTURN_NETWORK_MODE }}
|
||||
{% if COTURN_NETWORK_MODE == 'bridge' %}
|
||||
ports:
|
||||
@@ -16,6 +16,7 @@
|
||||
volumes:
|
||||
- "{{ COTURN_TLS_CERT_PATH }}:{{ COTURN_TLS_CERT_PATH }}:ro"
|
||||
- "{{ COTURN_TLS_KEY_PATH }}:{{ COTURN_TLS_KEY_PATH }}:ro"
|
||||
- "{{ COTURN_VOLUME }}:/var/lib/coturn"
|
||||
command: >
|
||||
{% if COTURN_USER_AUTH_ENABLED | bool %}
|
||||
--lt-cred-mech
|
||||
|
Reference in New Issue
Block a user