-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (46 loc) · 1.22 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
version: "3"
services:
streamaze-api:
build: ./streamaze-api
ports:
- "4000:4000"
container_name: streamaze-api
restart: always
depends_on:
- streamaze-db
env_file: ./streamaze-api/.env
streamaze-db:
image: postgres:latest
ports:
- "5432:5432"
container_name: streamaze-db
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: streamaze_prod
streamaze-donation-service:
build: ./streamaze-donation-service
ports:
- "8080:8080"
container_name: streamaze-donation-service
restart: always
depends_on:
- streamaze-db
- streamaze-api
exchange-rate-api:
build: ./exchange-rate-api
ports:
- "8000:4000"
container_name: exchange-rate-api
restart: always
streamaze-ui:
build: ./streamaze-ui
ports:
- "3000:80"
container_name: streamaze-ui
restart: always
depends_on:
- streamaze-api
- streamaze-donation-service
- exchange-rate-api