-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
48 lines (43 loc) · 816 Bytes
/
compose.yaml
File metadata and controls
48 lines (43 loc) · 816 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
name: streaming
services:
postgres:
image: "postgres:16.3-alpine3.20"
environment:
- POSTGRES_PASSWORD=${PGPASSWORD}
- POSTGRES_DB=${PGDATABASE}
restart: always
frontend:
build: ./nextjs
depends_on:
- postgres
env_file: .env
restart: always
socketio:
build: ./socketio
depends_on:
- frontend
ports:
- 4000:4000
restart: always
srs:
image: ossrs/srs:5
ports:
- 8080:8080
- 1935:1935
volumes:
- ./srs.conf:/usr/local/srs/conf/docker.conf
depends_on:
- frontend
restart: always
caddy:
image: caddy:latest
ports:
- 80:80
- 443:443
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
depends_on:
- frontend
- socketio
- srs
restart: always