forked from inaturalist/inaturalist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (42 loc) · 995 Bytes
/
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
version: "2"
services:
redis:
container_name: redis
image: redis:6.0.3
ports:
- 6379:6379
volumes:
- redis_data:/data
es:
container_name: es
image: docker.elastic.co/elasticsearch/elasticsearch:8.9.1
environment:
- discovery.type=single-node
- xpack.security.enabled=false
ports:
- 9200:9200
volumes:
- es_data:/usr/share/elasticsearch/data
command: >
/bin/sh -c "bin/elasticsearch-plugin list | grep -q analysis-kuromoji
|| bin/elasticsearch-plugin install analysis-kuromoji;
/usr/local/bin/docker-entrypoint.sh"
memcached:
container_name: memcached
image: memcached:1.6.6
ports:
- 11211:11211
pg:
container_name: pg
image: postgis/postgis:12-3.0
environment:
POSTGRES_USER: inaturalist
POSTGRES_PASSWORD: inaturalist
ports:
- 5432:5432
volumes:
- pg_data:/var/lib/postgresql/data
volumes:
redis_data:
es_data:
pg_data: