-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.mac.yaml
More file actions
47 lines (45 loc) · 1.13 KB
/
docker-compose.mac.yaml
File metadata and controls
47 lines (45 loc) · 1.13 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
version: "3"
services:
api:
container_name: api
build:
context: ./server
dockerfile: Dockerfile.dev
ports:
- "4000:4000"
volumes:
- /Users/brunobatista/git/ker/server/index.js:/app/index.js
- /Users/brunobatista/git/ker/server/src:/app/src
environment:
- NODE_ENV=development
- PORT=4000
- AWS_DB_REGION=${AWS_DB_REGION}
- AWS_DB_ACCESS_KEY_ID=${AWS_DB_ACCESS_KEY_ID}
- AWS_DB_SECRET_ACCESS_KEY=${AWS_DB_SECRET_ACCESS_KEY}
- JWT_SECRET_KEY=${JWT_SECRET_KEY}
client:
container_name: client
depends_on:
- api
build:
context: ./client
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
volumes:
- /Users/brunobatista/git/ker/client/public:/app/public
- /Users/brunobatista/git/ker/client/src:/app/src
- /Users/brunobatista/git/ker/client/tsconfig.json:/app/tsconfig.json
environment:
- NODE_ENV=development
route:
container_name: route
restart: always
depends_on:
- api
- client
build:
context: ./nginx
dockerfile: Dockerfile.dev
ports:
- "8080:80"