-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (41 loc) · 958 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
services:
db:
container_name: project-db
image: postgres
hostname: localhost
ports:
- "2345:5432"
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: root
POSTGRES_DB: planit
volumes:
- planit-db:/var/lib/postgresql/data
restart: unless-stopped
pgadmin:
container_name: project-pgadmin
image: dpage/pgadmin4
depends_on:
- db
ports:
- "4040:80"
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: root
restart: unless-stopped
elasticserach:
image: "elasticsearch:8.17.0"
container_name: elasticsearch
ports:
- "9200:9200"
- "9300:9300"
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- ES_JAVA_OPTS=-Xmx300m
volumes:
- elasticsearch-vol:/usr/share/elasticsearch/data
restart: unless-stopped
volumes:
planit-db:
elasticsearch-vol: