-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
93 lines (87 loc) · 2.07 KB
/
docker-compose.yml
File metadata and controls
93 lines (87 loc) · 2.07 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# DOCKER-COMPOSE.YML
services:
web:
env_file: .env
environment:
- ELASTIC_PASSWORD=AnUnsecurePassword123
- PASSENGER_MAX_POOL_SIZE=12
- PASSENGER_MIN_INSTANCES=5
image: ghcr.io/datacite/lupo:main
# build: .
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
- mysql
- memcached
- minio
memcached:
image: memcached:1.6.22
networks:
- public
mysql:
command: --max_allowed_packet=50000000
environment:
MYSQL_DATABASE: datacite
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
image: mysql:8.4.7
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
minio:
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
image: minio/minio:latest
ports:
- "9000:9000"
- "9001:9001"
networks:
- public
volumes:
- data:/user/share/minio/data
volumes:
data:
driver: local
networks:
public:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.0.40.0/24