-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (68 loc) · 1.6 KB
/
docker-compose.yml
File metadata and controls
73 lines (68 loc) · 1.6 KB
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
69
70
71
72
73
name: 'keeperdata_api'
services:
localstack:
container_name: "kda-localstack-emulator"
image: localstack/localstack:3.0.2
ports:
- '4568:4566'
env_file:
- 'compose/aws.env'
environment:
DEBUG: ${DEBUG:-1}
LS_LOG: WARN # Localstack DEBUG Level
SERVICES: s3,sqs,sns,firehose
LOCALSTACK_HOST: 127.0.0.1
volumes:
- "./localstack_data:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
- ./compose/start-localstack.sh:/etc/localstack/init/ready.d/start-localstack.sh
healthcheck:
test: ['CMD', 'curl', 'http://kda-localstack-emulator:4566/health']
interval: 5s
start_period: 5s
retries: 3
networks:
- cdp-tenant
redis:
container_name: "kda-redis"
image: redis:7.2.3-alpine3.18
ports:
- '6381:6379'
restart: always
networks:
- cdp-tenant
mongodb:
container_name: kda_mongodb
hostname: kda_mongodb
image: mongo:6.0.13
networks:
- cdp-tenant
ports:
- '27019:27017'
volumes:
- mongodb-data:/data/db
restart: always
keeperdata_api:
container_name: "keeperdata_api"
platform: linux
image: keeperdata_api
build: ./
ports:
- '5555:5555'
depends_on:
localstack:
condition: service_healthy
mongodb:
condition: service_started
env_file:
- 'compose/aws.env'
environment:
PORT: 5555
LOCALSTACK_ENDPOINT: http://kda-localstack-emulator:4566
networks:
- cdp-tenant
volumes:
mongodb-data:
networks:
cdp-tenant:
name: cdp-tenant