-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
61 lines (57 loc) · 1.45 KB
/
docker-compose.yaml
File metadata and controls
61 lines (57 loc) · 1.45 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
services:
postgres:
image: postgres:16
ports:
- "5435:5432"
environment:
POSTGRES_USER: croncontrol
POSTGRES_PASSWORD: croncontrol
POSTGRES_DB: croncontrol
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U croncontrol"]
interval: 5s
timeout: 5s
retries: 5
opensearch:
image: opensearchproject/opensearch:2
profiles: ["full", "opensearch"]
ports:
- "9200:9200"
environment:
discovery.type: single-node
DISABLE_SECURITY_PLUGIN: "true"
OPENSEARCH_JAVA_OPTS: "-Xms512m -Xmx512m"
volumes:
- osdata:/usr/share/opensearch/data
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health || exit 1"]
interval: 10s
timeout: 5s
retries: 5
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2
profiles: ["full", "opensearch"]
ports:
- "5601:5601"
environment:
OPENSEARCH_HOSTS: '["http://opensearch:9200"]'
DISABLE_SECURITY_DASHBOARDS_PLUGIN: "true"
depends_on:
opensearch:
condition: service_healthy
pgadmin:
image: dpage/pgadmin4
profiles: ["full", "pgadmin"]
ports:
- "5050:80"
environment:
PGADMIN_DEFAULT_EMAIL: admin@croncontrol.dev
PGADMIN_DEFAULT_PASSWORD: admin
depends_on:
postgres:
condition: service_healthy
volumes:
pgdata:
osdata: