-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (46 loc) · 997 Bytes
/
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
version: "3.7"
name: arduino_weather
services:
dynamodb:
image: amazon/dynamodb-local
stdin_open: true
tty: true
volumes:
- "dynamo_data:/home/dynamodblocal/data"
ports:
- "8000:8000"
environment:
- DEBUG=false
- AWS_DEFAULT_REGION=us_east-2
command: "-jar DynamoDBLocal.jar -sharedDb -dbPath /home/dynamodblocal/data/"
networks:
- ecs-local-network
user: root
dynamodb-admin:
image: aaronshaf/dynamodb-admin
ports:
- "8001:8001"
environment:
DYNAMO_ENDPOINT: "http://dynamodb:8000"
AWS_REGION: "us-west-2"
AWS_ACCESS_KEY_ID: local
AWS_SECRET_ACCESS_KEY: local
depends_on:
- dynamodb
networks:
- ecs-local-network
backend:
build: ./backend
ports:
- "5000:5000"
volumes:
- ./backend:/app
env_file:
- ./backend/.env
networks:
- ecs-local-network
volumes:
dynamo_data:
networks:
ecs-local-network:
external: true