-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
69 lines (67 loc) · 1.61 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
services:
web:
env_file: .env
environment:
- ELASTIC_PASSWORD=AnUnsecurePassword123
image: ghcr.io/datacite/lupo:main
ports:
- "8065:80"
- "2265:22"
volumes:
- ./app:/home/app/webapp/app
- ./config:/home/app/webapp/config
- ./db:/home/app/webapp/db
- ./lib:/home/app/webapp/lib
- ./spec:/home/app/webapp/spec
- ./storage:/home/app/webapp/storage
networks:
- public
depends_on:
- elasticsearch
memcached:
image: memcached:1.4.31
networks:
- public
mysql:
command: --max_allowed_packet=50000000
environment:
MYSQL_DATABASE: datacite
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
image: mysql:8
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:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.0.40.0/24