-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
68 lines (65 loc) · 1.46 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
version: "3"
services:
web:
env_file: .env
environment:
- ELASTIC_PASSWORD=changeme
image: ghcr.io/datacite/lupo
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:5.7
ports:
- "3309:3306"
networks:
- public
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
ports:
- "9201:9200"
- "9301:9300"
environment:
discovery.type: single-node
ES_JAVA_OPTS: -Xms512m -Xmx512m
ELASTIC_PASSWORD: changeme
xpack.security.enabled: "false"
http.cors.enabled: "true"
http.cors.allow-origin: "*"
volumes:
- data:/usr/share/elasticsearch/data
networks:
- public
healthcheck:
test: curl -f http://elastic:changeme@elasticsearch:9200
interval: 10s
timeout: 1s
volumes:
data:
driver: local
networks:
public:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.0.40.0/24