This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
62 lines (59 loc) · 1.63 KB
/
docker-compose.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.7"
services:
videoroom:
image: membraneframework/membrane_videoroom:${TAG:-latest}
network_mode: "host"
restart: on-failure
environment:
VIRTUAL_HOST: "${VIRTUAL_HOST:-localhost}"
USE_INTEGRATED_TURN: "true"
EXTERNAL_IP: "${EXTERNAL_IP:-127.0.0.1}"
INTEGRATED_TURN_PORT_RANGE: "50000-65355"
INTEGRATED_TCP_TURN_PORT: "49999"
STORE_METRICS: "true"
DATABASE: "membrane"
DB_USERNAME: "${DB_USERNAME}"
DB_PASSWORD: "${DB_PASSWORD}"
DB_HOSTNAME: "127.0.0.1"
volumes:
- type: volume
source: grafana-provisioning
target: /app/grafana/provisioning
depends_on:
- timescale
timescale:
image: timescale/timescaledb:2.10.3-pg14
network_mode: "host"
restart: on-failure
environment:
POSTGRES_DB: "membrane"
POSTGRES_USER: "${DB_USERNAME}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
healthcheck:
test: pg_isready -d membrane
interval: 30s
timeout: 10s
start_period: 30s
retries: 3
grafana:
image: grafana/grafana:9.1.5
network_mode: "host"
restart: on-failure
volumes:
- type: volume
source: grafana-provisioning
target: /etc/grafana/provisioning
read_only: true
volume:
nocopy: true
environment:
DB_URL: "localhost:5432"
DB_NAME: "membrane"
DB_USERNAME: "${DB_USERNAME}"
DB_PASSWORD: "${DB_PASSWORD}"
GF_SECURITY_ADMIN_PASSWORD: "${GF_SECURITY_ADMIN_PASSWORD}"
GF_SECURITY_ADMIN_USER: "${GF_SECURITY_ADMIN_USER}"
depends_on:
- videoroom
volumes:
grafana-provisioning: