-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
36 lines (36 loc) · 1.15 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
---
services:
app:
image: ${ECR_REPO:-948629139753.dkr.ecr.us-east-1.amazonaws.com}/firespring/givesource:${GIVESOURCE_TAG:-latest}
build:
context: .
dockerfile: Dockerfile
environment:
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
AWS_SESSION_TOKEN:
HISTFILE: /root/.history/bash
ports:
- 3000:3000
- 3001:3001
- 3002:3002
- 3003:3003
volumes:
- ${HOME}/dotfiles/.history:/root/.history:delegated
- .:/usr/src/app:delegated
- base-node_modules:/usr/src/app/node_modules
- cloudformation-node_modules:/usr/src/app/packages/cloudformation/node_modules
- frontend-node_modules:/usr/src/app/packages/frontend/node_modules
- lambda-node_modules:/usr/src/app/packages/lambda/node_modules
- cloudformation-build:/usr/src/app/packages/cloudformation/build
- frontend-build:/usr/src/app/packages/frontend/build
- lambda-build:/usr/src/app/packages/lambda/build
volumes:
base-node_modules:
cloudformation-node_modules:
frontend-node_modules:
lambda-node_modules:
cloudformation-build:
frontend-build:
lambda-build: