-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (69 loc) · 1.67 KB
/
docker-compose.yml
File metadata and controls
73 lines (69 loc) · 1.67 KB
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
69
70
71
72
73
services:
postgres:
image: postgres:17
container_name: postgres
restart: unless-stopped
ports:
- "5434:5432"
environment:
POSTGRES_USER: ai_notes
POSTGRES_PASSWORD: ai_notes
POSTGRES_DB: ai_notes_db
volumes:
- /var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4:latest
container_name: pgadmin
restart: unless-stopped
depends_on:
- postgres
ports:
- "8080:80"
environment:
PGADMIN_DEFAULT_EMAIL: test@test.com
PGADMIN_DEFAULT_PASSWORD: test
volumes:
- /var/lib/pgadmin
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.1
container_name: elasticsearch
restart: unless-stopped
ports:
- "9200:9200"
environment:
discovery.type: single-node
ES_JAVA_OPTS: "-Xms1g -Xmx1g"
xpack.security.enabled: "false"
volumes:
- /usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana:8.11.1
container_name: kibana
restart: unless-stopped
depends_on:
- elasticsearch
ports:
- "5601:5601"
environment:
ELASTICSEARCH_HOSTS: '["http://elasticsearch:9200"]'
opensearch:
image: opensearchproject/opensearch:2.11.0
container_name: opensearch
restart: unless-stopped
ports:
- "9201:9200"
- "9601:9600"
environment:
discovery.type: single-node
bootstrap.memory_lock: "true"
OPENSEARCH_JAVA_OPTS: "-Xms1g -Xmx1g"
DISABLE_SECURITY_PLUGIN: "true"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- /usr/share/opensearch/data