-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
68 lines (59 loc) · 1.76 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "3.9"
services:
ingest:
extends:
file: services/ingest/docker-compose.yml
service: lambda
links:
- localstack
analyse:
extends:
file: services/analyse/docker-compose.yml
service: lambda
links:
- localstack
publish:
extends:
file: services/publish/docker-compose.yml
service: lambda
links:
- localstack
orchestrator:
extends:
file: services/orchestrator/docker-compose.yml
service: lambda
api:
extends:
file: services/api/docker-compose.yml
service: lambda
links:
- api_db
api_event_listener:
extends:
file: services/api/docker-compose.yml
service: event_listener
links:
- api_db
localstack:
container_name: "localstack"
image: localstack/localstack:3.0.2
ports:
- "4566:4566"
- "4510-4559:4510-4559"
environment:
- DEBUG=1
- DOCKER_HOST=unix:///var/run/docker.sock
- SERVICES=s3,iam,events,sqs,sts,dynamodb
- DISABLE_EVENTS=0
- HOSTNAME_EXTERNAL=localstack
- DEFAULT_REGION=eu-west-2
volumes:
# Mount volumes for Localstack provisioning
- "./infrastructure:/tmp/infrastructure"
- "./infrastructure/localstack/provision.sh:/etc/localstack/init/ready.d/init-aws.sh"
# Mount the default volumes for cache and sockets
- "./infrastructure/.localstack/var:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
volumes:
api_db:
driver: local