-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
50 lines (45 loc) · 949 Bytes
/
docker-compose.dev.yml
File metadata and controls
50 lines (45 loc) · 949 Bytes
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
services:
mediamtx:
build:
context: .
dockerfile: mediamtx.Dockerfile
network_mode: host
volumes:
- ./mediamtx.dev.yml:/mediamtx.yml
- ./thumbnails:/thumbnails
redis:
image: redis:latest
ports:
- "8879:6379"
postgres:
image: postgres:16
environment:
POSTGRES_USER: stream
POSTGRES_PASSWORD: stream
POSTGRES_DB: stream
ports:
- "8832:5432"
volumes:
- postgres:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 10s
timeout: 5s
retries: 5
minio:
image: minio/minio:latest
ports:
- "8810:9000"
- "8811:9090"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio-password
command: server /data
nats:
image: nats:2.10.11-scratch
command: -js -m 8222
restart: always
ports:
- '8223:4222'
volumes:
postgres: