-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
50 lines (46 loc) · 1013 Bytes
/
docker-compose.yaml
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
services:
postgres:
image: postgres:16-alpine
ports:
- "5432:5432"
healthcheck:
test: "pg_isready -U postgres"
interval: 2s
timeout: 10s
retries: 5
env_file:
- path: ./.env
required: true
redis:
image: redis:7-alpine
env_file:
- path: ./.env
required: true
ports:
- "6379:6379"
localstack:
image: localstack/localstack:latest
container_name: localstack
env_file:
- path: ./.env
required: true
ports:
- "4566:4566"
volumes:
- ./localstack/init.sh:/etc/localstack/init/ready.d/script.sh
dynamodb:
image: amazon/dynamodb-local
ports:
- "8000:8000"
dd-agent:
image: gcr.io/datadoghq/agent:7
env_file:
- path: ./.env
required: true
volumes:
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
- /proc/:/host/proc/:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- "8125:8125/udp"
- "8126:8126"