-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (55 loc) · 1.68 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
54
55
56
57
version: '3.4'
services:
frontend:
build:
context: .
target: dev
environment:
- PORT=11080
- NODE_ENV=development
- ENV_NAME=local
- LOG_LEVEL=debug
- CHOKIDAR_USEPOLLING=true
volumes:
- ./Makefile:/app/Makefile
- ./frontend/.eslintrc.json:/app/frontend/.eslintrc.json
- ./frontend/config-overrides.js:/app/frontend/config-overrides.js
- ./frontend/package.json:/app/frontend/package.json
- ./frontend/public:/app/frontend/public
- ./frontend/src:/app/frontend/src:cached
- ./frontend/tsconfig.json:/app/frontend/tsconfig.json
- ./frontend/yarn.lock:/app/frontend/yarn.lock
- ./.eslintrc.json:/app/.eslintrc.json
command: yarn --cwd ./frontend start
server:
build:
context: .
target: dev
environment:
- PORT=11080
- NODE_ENV=development
- ENV_NAME=local
- LOG_LEVEL=debug
- STATSD_ENABLED=false
- AWS_ACCESS_KEY_ID=x
- AWS_SECRET_ACCESS_KEY=y
- AWS_REGION=eu-west-1
- DYNAMODB_ENDPOINT=http://dynamodb:8000
volumes:
- ./elasticsearch:/app/elasticsearch
- ./Makefile:/app/Makefile
- ./server/jest.config.js:/app/server/jest.config.js
- ./server/package.json:/app/server/package.json
- ./server/src:/app/server/src
- ./server/tsconfig.json:/app/server/tsconfig.json
- ./server/typings:/app/server/typings
- ./server/yarn.lock:/app/server/yarn.lock
- ./server/scripts:/app/server/scripts
- ./.eslintrc.json:/app/.eslintrc.json
command: yarn --cwd ./server start
depends_on:
- dynamodb
dynamodb:
image: amazon/dynamodb-local
expose:
- 8000