-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.prod.yaml
More file actions
59 lines (52 loc) · 1.12 KB
/
docker-compose.prod.yaml
File metadata and controls
59 lines (52 loc) · 1.12 KB
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
services:
db:
image: postgres:17
restart: always
env_file:
- ./.env
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
image: redis:7.2
restart: always
# rtsptoweb:
stream-server:
restart: always
image: ghcr.io/deepch/rtsptoweb:latest
volumes:
- ./RtspConfig.json:/config/config.json
ports:
- "8080:8080"
# teleicu-middleware
teleicu-middleware:
restart: always
image: ghcr.io/10bedicu/teleicu_gateway:latest
command: ["sh", "-c", "/app/start-backend.sh"]
depends_on:
- redis
- stream-server
- db
env_file:
- ./.env
ports:
- "8090:8090"
celery:
restart: always
image: ghcr.io/10bedicu/teleicu_gateway:latest
command: ["sh", "-c", "/app/start-celery.sh"]
env_file:
- ./.env
depends_on:
- redis
- db
- teleicu-middleware
# proxies requests to internal services
reverse-proxy:
restart: always
image: ghcr.io/10bedicu/teleicu_gateway_nginx:latest
depends_on:
- teleicu-middleware
ports:
- "8001:8001"
volumes:
postgres-data: