-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (38 loc) · 893 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
version: "3.4"
services:
apigateway:
image: ghcr.io/phishing-hunter/apigateway-proxy:main
build: ./docker
ports:
- "9000:8080"
volumes:
- ./example/tables.yaml:/config/tables.yaml:ro
depends_on:
- lambda
restart: always
lambda:
build: ./example
depends_on:
- dynamodb
restart: always
environment:
- AWS_ACCESS_KEY_ID=xxxxxxxxxx
- AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxx
- DYNAMODB_ENDPOINT_URL=http://dynamodb:8000
- DEBUG=1
dynamodb:
image: amazon/dynamodb-local:latest
user: root
command: -jar DynamoDBLocal.jar -sharedDb -dbPath /data
volumes:
- dynamodb-data:/data
dynamodb-admin:
image: aaronshaf/dynamodb-admin:latest
environment:
- DYNAMO_ENDPOINT=dynamodb:8000
ports:
- 8001:8001
depends_on:
- dynamodb
volumes:
dynamodb-data: