-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (34 loc) · 800 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (34 loc) · 800 Bytes
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
version: '3'
services:
node:
image: "node:10"
user: "node"
working_dir: /usr/src/graphql-postgresql-appsync
environment:
- NODE_ENV=development
command: npm run start
volumes:
- .:/usr/src/graphql-postgresql-appsync
ports:
- "4000:4000"
postgresql:
image: postgres:10.8
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: postgres
volumes:
- postgresql:/var/lib/postgresql
dynamodb:
image: amazon/dynamodb-local
environment:
- ./Djava.library.path=./DynamoDBLocal_lib
ports:
- "8000:8000"
volumes:
- dynamodb:/usr/data/dynamodb
command: ["-jar", "DynamoDBLocal.jar", "-sharedDb", "-dbPath", "/usr/data/dynamodb/"]
volumes:
postgresql:
dynamodb: