summaryrefslogtreecommitdiff
path: root/roles/apps/coturn/templates/pod-spec.yml.j2
blob: d157af379bcefab68c7d4119f99200bdcc86ea24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
securityContext:
  allowPrivilegeEscalation: false
  runAsUser: {{ coturn_uid }}
  runAsGroup: {{ coturn_gid }}
hostNetwork: true
containers:
- name: coturn
  image: "instrumentisto/coturn:{{ coturn_version }}"
  args:
    - --log-file=stdout
  resources:
    limits:
      memory: "1Gi"
  volumeMounts:
  - name: config
    mountPath: /etc/coturn/
    readOnly: true
  - name: run
    mountPath: /var/run
  - name: lib
    mountPath: /var/lib/coturn
volumes:
- name: config
  hostPath:
    path: "{{ coturn_base_path }}/{{ coturn_realm }}/config/"
    type: Directory
- name: run
  emptyDir:
    medium: Memory
- name: lib
  emptyDir:
    medium: Memory