-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (49 loc) · 1.32 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
version: "3.9"
services:
database:
image: postgres
container_name: database
restart: unless-stopped
ports:
- 5432:5432
environment:
POSTGRES_USER: giantnodes
POSTGRES_PASSWORD: password
volumes:
- /path/to/store/pgdata:/var/lib/postgresql/data/
orchestrator:
build:
context: .
dockerfile: src/Service.Orchestrator/src/HttpApi/Dockerfile
container_name: orchestrator
restart: unless-stopped
ports:
- 5623:5623
depends_on:
- database
environment:
ConnectionStrings__DatabaseConnection: "Host=database;Database=video-management;Username=giantnodes;Password=password;Include Error Detail=true"
encoder-1:
build:
context: .
dockerfile: src/Service.Encoder/src/Console/Dockerfile
container_name: encoder
restart: unless-stopped
ports:
- 5600:5600
depends_on:
- database
environment:
ConnectionStrings__DatabaseConnection: "Host=database;Database=video-management;Username=giantnodes;Password=password;Include Error Detail=true"
dashboard:
build:
context: .
dockerfile: app/Dockerfile
container_name: dashboard
restart: unless-stopped
ports:
- 3000:3000
depends_on:
- orchestrator
environment:
NEXT_PUBLIC_API_URI: http://localhost:5623