forked from okfde/froide
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-dev.yaml
More file actions
30 lines (29 loc) · 825 Bytes
/
compose-dev.yaml
File metadata and controls
30 lines (29 loc) · 825 Bytes
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
services:
db:
image: postgis/postgis:16-3.4
volumes:
- pg-data:/var/lib/postgresql/
environment:
POSTGRES_USER: froide
POSTGRES_DB: froide
POSTGRES_PASSWORD: froide
ports:
- 127.0.0.1:5432:5432
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.3
volumes:
- es-data:/usr/share/elasticsearch/data
- es-logs:/var/log
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- cluster.routing.allocation.disk.threshold_enabled=false
- cluster.routing.allocation.disk.watermark.low=3gb
- cluster.routing.allocation.disk.watermark.high=2gb
- cluster.routing.allocation.disk.watermark.flood_stage=1gb
ports:
- 127.0.0.1:9200:9200
volumes:
es-data:
es-logs:
pg-data: