-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (37 loc) · 1.16 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
37
38
39
40
41
42
43
version: '2.1'
services:
localstack:
image: localstack/localstack:latest
ports:
- "4567-4582:4567-4582"
- "8080:8080"
environment:
- AWS_ACCESS_KEY_ID=foo
- AWS_SECRET_ACCESS_KEY=bar
- AWS_DEFAULT_REGION=ap-northeast-1
# SERVICES can be specified like 'kinesis,lambda:4569,sqs:4570'
- SERVICES=${SERVICES- }
# Error probability should be a decimal value between 0.0 and 1.0
- KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
- DYNAMODB_ERROR_PROBABILITY=${DYNAMODB_ERROR_PROBABILITY- }
- DOCKER_HOST=unix:///var/run/docker.sock
- DATA_DIR=/tmp/localstack
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/localstack:/tmp/localstack
restart: always
container_name: aws
cli:
image: mesosphere/aws-cli:latest
entrypoint: sh -c "apk --no-cache add bash less && tail -f /dev/null"
environment:
- AWS_ACCESS_KEY_ID=foo
- AWS_SECRET_ACCESS_KEY=bar
- AWS_DEFAULT_REGION=ap-northeast-1
restart: always
container_name: cli
c3proauth:
image: schaff/c3pro-auth
ports:
- "8081:8081"
container_name: c3proauth