-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
31 lines (29 loc) · 680 Bytes
/
docker-compose.dev.yml
File metadata and controls
31 lines (29 loc) · 680 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
31
# Run this for development
services:
elasticsearch:
image: elasticsearch:8.17.1
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
deploy:
resources:
limits:
memory: 2GB
ports:
- "9200:9200"
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: development
POSTGRES_DB: myrient
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
elasticsearch_data:
postgres_data: