-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
44 lines (42 loc) · 1.25 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
44
version: "3.8"
services:
# Mock boto with persistence.
# To use it from the CLI: aws --endpoint-url=http://localhost:4000 s3 ls
# To reset all services without restarting the container: curl -X POST http://localhost:4000/moto-api/reset
motoserver:
build:
context: .
dockerfile: Dockerfile.motoserver
ports:
- "4000:4000"
environment:
- MOTO_PORT=4000
- MOTO_ENABLE_RECORDING=True
- MOTO_S3_CUSTOM_ENDPOINTS=http://motoserver.czidnet:4000
- S3_IGNORE_SUBDOMAIN_BUCKETNAME=True
- MOTO_DOCKER_NETWORK_NAME=czidnet
- MOTO_DOCKER_NETWORK_MODE=overlay
volumes:
- .moto_recording:/moto/moto_recording
- ./bin:/moto/bin
- "/var/run/docker.sock:/var/run/docker.sock"
entrypoint: ["/bin/bash"]
command: ["/moto/bin/init_moto.sh"]
stepfunctions:
container_name: stepfunctions_local_workflows
image: amazon/aws-stepfunctions-local
environment:
- BATCH_ENDPOINT=http://motoserver.czidnet:4000
- LAMBDA_ENDPOINT=http://motoserver.czidnet:4000
- AWS_ACCOUNT_ID=123456789012
ports:
- "8083:8083"
networks:
default:
aliases:
- sfn.czidnet
networks:
default:
name: czidnet
driver: overlay
attachable: true