-
Notifications
You must be signed in to change notification settings - Fork 57
/
docker-compose.prod.yml
59 lines (54 loc) · 1.37 KB
/
docker-compose.prod.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
54
55
56
57
58
59
version: "3.9"
services:
api:
container_name: api
build:
context: ./
dockerfile: ./apps/api/Dockerfile
image: 490752553772.dkr.ecr.eu-central-1.amazonaws.com/bandada-api
pull_policy: always
restart: unless-stopped
env_file:
- apps/api/.env
ports:
- "3000:3000"
networks:
- bandada
client:
container_name: client
build:
context: ./
dockerfile: ./apps/client/Dockerfile
image: 490752553772.dkr.ecr.eu-central-1.amazonaws.com/bandada-client
pull_policy: always
restart: unless-stopped
environment:
- NODE_ENV=production
ports:
- "3002:80"
networks:
- bandada
depends_on:
- api
dashboard:
container_name: dashboard
build:
context: ./
dockerfile: ./apps/dashboard/Dockerfile
image: 490752553772.dkr.ecr.eu-central-1.amazonaws.com/bandada-dashboard
pull_policy: always
restart: unless-stopped
environment:
- NODE_ENV=production
ports:
- "3001:80"
networks:
- bandada
depends_on:
- api
networks:
bandada:
internal: false
driver: bridge
volumes:
postgres: