This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
/
docker-compose.yml
81 lines (74 loc) · 1.58 KB
/
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
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
74
75
76
77
78
79
80
81
version: "2"
services:
helpdesk:
build: .
ports:
- "8000:8000"
environment:
- PYTHONUNBUFFERED=1
- HISTFILE=/root/hist/.bash_history
volumes:
- .:/app
- bashhistory:/root/hist
entrypoint: dockerize -wait tcp://postgres:5432 -wait tcp://es:9200 -wait tcp://redis:6379 -timeout 120s
env_file:
- .env
depends_on:
- postgres
- es
- redis
- s3
command: ./start.sh
stdin_open: true
tty: true
webpack:
image: node:18
command: bash -c " npm install && npm run dev "
env_file:
- .env
volumes:
- .:/app
working_dir: /app
postgres:
image: postgres:10
env_file:
- .env
ports:
- "5432:5432"
volumes:
- db-volume:/var/lib/postgresql/data
es:
image: opensearchproject/opensearch:1.2.2
environment:
- discovery.type=single-node
- plugins.security.disabled=true
ports:
- "9200:9200"
redis:
image: redis:3.2
ports:
- "6379:6379"
kibana:
image: docker.elastic.co/kibana/kibana:7.9.3
environment:
ELASTICSEARCH_URL: http://es:9200
ELASTICSEARCH_HOSTS: http://es:9200
ports:
- "5601:5601"
s3:
image: minio/minio:latest
volumes:
- ./minio_config:/root/.minio
- ./volumes/s3:/export/
expose:
- "9001"
ports:
- "9000:9001"
entrypoint: sh
command: -c 'minio server --console-address ":9001" /export'
environment:
- MINIO_ROOT_USER=minio_username
- MINIO_ROOT_PASSWORD=minio_password
volumes:
bashhistory:
db-volume: