-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.local.dev.yml
50 lines (47 loc) · 1.16 KB
/
docker-compose.local.dev.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
version: "3"
services:
memcached:
image: memcached:1.4.31
networks:
- public
ports:
- "11211:11211" # Expose the memcached port for external access
mysql:
command: --max_allowed_packet=50000000
environment:
MYSQL_DATABASE: datacite
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
image: mysql:8.0
ports:
- "3309:3306"
networks:
- public
elasticsearch:
image: opensearchproject/opensearch:2
ports:
- "9201:9200"
- "9301:9300"
environment:
discovery.type: single-node
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
OPENSEARCH_INITIAL_ADMIN_PASSWORD: AnUnsecurePassword123
DISABLE_SECURITY_PLUGIN: true
http.cors.enabled: true
bootstrap.memory_lock: true
http.cors.allow-origin: "*"
compatibility.override_main_response_version: true
logger.org.opensearch.discovery: "ERROR"
volumes:
- data:/usr/share/opensearch/data
networks:
- public
healthcheck:
test: curl -f http://admin:AnUnsecurePassword123@elasticsearch:9200
interval: 10s
timeout: 1s
volumes:
data:
driver: local
networks:
public:
name: public