forked from rubygems/rubygems.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (59 loc) · 1.41 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
services:
db:
image: postgres:13.14
ports:
- "5432:5432"
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
downloads-db:
image: timescale/timescaledb:2.15.1-pg16
ports:
- "5434:5432"
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
cache:
image: memcached:1.4.39
ports:
- "11211:11211"
search:
image: opensearchproject/opensearch:2.13.0
environment:
- discovery.type=single-node
- DISABLE_SECURITY_PLUGIN=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200:9200"
healthcheck:
test:
[
"CMD",
"curl",
"--fail",
"--silent",
"http://localhost:9200/_cluster/health?wait_for_status=green&timeout=5s",
]
interval: 5s
timeout: 5s
retries: 6
search-console:
image: opensearchproject/opensearch-dashboards:2.13.0
ports:
- "5601:5601"
environment:
- 'OPENSEARCH_HOSTS=["http://search:9200"]'
- "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true"
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
healthcheck:
test:
[
"CMD-SHELL",
"curl --fail --silent http://localhost:5601/api/status || exit 1",
]
interval: 5s
timeout: 3s
depends_on:
search:
condition: service_healthy
toxiproxy:
image: ghcr.io/shopify/toxiproxy:2.5.0
network_mode: "host"