-
Notifications
You must be signed in to change notification settings - Fork 309
/
docker-compose.yml
165 lines (164 loc) · 4.96 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
version: "2"
services:
aerospike:
image: aerospike:ce-6.4.0.3
ports:
- "127.0.0.1:3000-3002:3000-3002"
couchbase:
image: ghcr.io/datadog/couchbase-server-sandbox:latest
ports:
- "127.0.0.1:8091-8095:8091-8095"
- "127.0.0.1:11210:11210"
postgres:
image: postgres:9.5-alpine
environment:
- POSTGRES_PASSWORD=postgres
ports:
- "127.0.0.1:5432:5432"
mssql:
# A working MSSQL server is not available on ARM.
# This image provides _most_ of sqlserver functionalities, but
# does not support stored procedures (corresponding tests will fail)
image: mcr.microsoft.com/azure-sql-edge
environment:
- "ACCEPT_EULA=Y"
- "SA_PASSWORD=DD_HUNTER2"
ports:
- "127.0.0.1:1433:1433"
mysql:
image: mariadb:10.4
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_DATABASE=db
ports:
- "127.0.0.1:3306:3306"
redis:
image: redis:4.0-alpine
ports:
- "127.0.0.1:6379:6379"
mongo:
image: circleci/mongo:3.6
platform: linux/amd64
ports:
- "127.0.0.1:27017:27017"
oracledb:
image: quillbuilduser/oracle-18-xe
ports:
- '127.0.0.1:1521:1521'
- '127.0.0.1:5500:5500'
elasticsearch:
image: elasticsearch:7.17.22
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms128m -Xmx128m"
ports:
- "127.0.0.1:9200:9200"
rabbitmq:
image: rabbitmq:3.6-alpine
ports:
- "127.0.0.1:5672:5672"
qpid:
image: scholzj/qpid-cpp:1.38.0
command: -p 5673
environment:
- QPIDD_ADMIN_USERNAME=admin
- QPIDD_ADMIN_PASSWORD=admin
ports:
- "127.0.0.1:5673:5673"
memcached:
image: memcached:1.5-alpine
ports:
- "11211:11211"
cassandra:
image: cassandra:3-focal
ports:
- "127.0.0.1:9042:9042"
limitd:
image: rochdev/limitd
environment:
- BUCKET_1_NAME=user
- BUCKET_1_SIZE=10
- BUCKET_1_PER_SECOND=5
ports:
- "127.0.0.1:9231:9231"
google-cloud-pubsub:
image: ghcr.io/ridedott/pubsub-emulator
ports:
- "127.0.0.1:8081:8081"
localstack:
image: localstack/localstack:3.0.2
ports:
- "127.0.0.1:4566:4566" # Edge
environment:
- LOCALSTACK_SERVICES=dynamodb,kinesis,s3,sqs,sns,redshift,route53,logs,serverless,lambda,stepfunctions,events
- EXTRA_CORS_ALLOWED_HEADERS=x-amz-request-id,x-amzn-requestid,x-amz-id-2
- EXTRA_CORS_EXPOSE_HEADERS=x-amz-request-id,x-amzn-requestid,x-amz-id-2
- AWS_DEFAULT_REGION=us-east-1
- FORCE_NONINTERACTIVE=true
- START_WEB=0
- DEBUG=${DEBUG-}
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
localstack-legacy:
# we have two localstacks since upgrading localstack was causing lambda & S3 tests to fail
# To-Do: Debug localstack / lambda and localstack / S3
image: localstack/localstack:1.1.0
ports:
- "127.0.0.1:4567:4567" # Edge
environment:
- LOCALSTACK_SERVICES=dynamodb,kinesis,s3,sqs,sns,redshift,route53,logs,serverless
- EXTRA_CORS_ALLOWED_HEADERS=x-amz-request-id,x-amzn-requestid,x-amz-id-2
- EXTRA_CORS_EXPOSE_HEADERS=x-amz-request-id,x-amzn-requestid,x-amz-id-2
- AWS_DEFAULT_REGION=us-east-1
- FORCE_NONINTERACTIVE=true
- START_WEB=0
- GATEWAY_LISTEN=127.0.0.1:4567
- EDGE_PORT=4567
- EDGE_PORT_HTTP=4567
- LAMBDA_EXECUTOR=local
kafka:
platform: linux/arm64
image: apache/kafka-native:3.8.0-rc2
ports:
- "127.0.0.1:9092:9092"
- "127.0.0.1:9093:9093"
environment:
- KAFKA_PROCESS_ROLES=broker,controller
- KAFKA_NODE_ID=1
- KAFKA_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093
- [email protected]:9093
- KAFKA_CONTROLLER_LISTENER_NAMES=CONTROLLER
- CLUSTER_ID=5L6g3nShT-eMCtK--X86sw
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
- KAFKA_INTER_BROKER_LISTENER_NAME=PLAINTEXT
- KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
- KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
- KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS=0
opensearch:
image: opensearchproject/opensearch:2
environment:
- plugins.security.disabled=true
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms128m -Xmx128m"
ports:
- "127.0.0.1:9201:9200"
openldap:
image: bitnami/openldap:latest
ports:
- '127.0.0.1:1389:1389'
- '127.0.0.1:1636:1636'
environment:
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=adminpassword
- LDAP_USERS=user01,user02
- LDAP_PASSWORDS=password1,password2
testagent:
image: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.16.0
ports:
- "127.0.0.1:9126:9126"
environment:
- LOG_LEVEL=DEBUG
- TRACE_LANGUAGE=javascript
- ENABLED_CHECKS=trace_stall,meta_tracer_version_header,trace_count_header,trace_peer_service
- PORT=9126