-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdocker-compose.yml
36 lines (36 loc) · 977 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
version: '3.8'
services:
dynamodb-local:
# command: "-jar DynamoDBLocal.jar -sharedDb -dbPath ./data"
command: "-jar DynamoDBLocal.jar -sharedDb -inMemory"
image: "amazon/dynamodb-local:latest"
container_name: dynamodb-local
ports:
- "8000:8000"
user: root
volumes:
- "./docker/dynamodb:/home/dynamodblocal/data"
working_dir: /home/dynamodblocal
signer:
build:
context: .
dockerfile: Dockerfile.dev
container_name: signer
entrypoint: sleep infinity
ports:
- "5000:5000"
depends_on:
- "dynamodb-local"
links:
- "dynamodb-local"
environment:
AWS_ACCESS_KEY_ID: 'DUMMYIDEXAMPLE'
AWS_SECRET_ACCESS_KEY: 'DUMMYEXAMPLEKEY'
BOTO3_ENDPOINT: 'http://dynamodb-local:8000'
DYNAMO_DB_URL: 'http://dynamodb-local:8000'
REGION: 'eu-west-1'
DDB_TABLE: 'test_table'
HSM_PASSWORD: '1234' # strong :)
DEBUG: '1'
volumes:
- .:/code