This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
102 lines (93 loc) · 1.95 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: "3"
services:
downloader:
build: ./src/downloader
depends_on:
- redis
restart: always
volumes:
- ./data:/data
env_file: ./config/environment
networks:
- internal
- external
indexer:
build: ./src/indexer
depends_on:
- elasticsearch
- redis
restart: always
volumes:
- ./data:/data
env_file: ./config/environment
networks:
- internal
- external
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.12.2
restart: always
environment:
- discovery.type=single-node
- xpack.security.enabled=true
- xpack.security.authc.api_key.enabled=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
networks:
- internal
kibana:
image: docker.elastic.co/kibana/kibana:8.12.2
restart: always
depends_on:
- elasticsearch
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
env_file: ./config/kibana
networks:
- internal
queue-cli:
build: ./src/queue-cli
depends_on:
- redis
restart: "no"
command: "noop"
env_file: ./config/environment
networks:
- internal
- external
redis:
image: redis:latest
restart: always
volumes:
- redis-data:/data
networks:
- internal
reverse-proxy:
build: ./src/reverse-proxy
depends_on:
- webhook-receiver
restart: always
volumes:
- ./config/htpasswd-data:/etc/nginx/conf.d/htpasswd-data:ro
- ./data:/data:ro
networks:
- internal
- external
ports:
- "127.0.0.1:8080:80"
- "127.0.0.1:8081:81"
webhook-receiver:
build: ./src/webhook-receiver
depends_on:
- redis
restart: always
env_file: ./config/environment
networks:
- internal
networks:
internal:
internal: true
external:
volumes:
elasticsearch-data:
redis-data: