-
Notifications
You must be signed in to change notification settings - Fork 303
/
docker-compose.yml
59 lines (59 loc) · 1.53 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
version: '3'
services:
postgres:
image: postgres:9.5
container_name: odota-postgres
environment:
POSTGRES_PASSWORD: postgres
scylla:
image: scylladb/scylla:6.2
container_name: odota-scylla
command:
- --skip-wait-for-gossip-to-settle 0
minio:
image: minio/minio:RELEASE.2024-11-07T00-52-20Z
container_name: odota-minio
command: server /data
redis:
image: redis:7
container_name: odota-redis
elasticsearch:
image: elasticsearch:6.8.23
container_name: odota-elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- bootstrap.system_call_filter=false
- 'ES_JAVA_OPTS=-Xms256m -Xmx256m'
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
parser:
image: odota/parser
container_name: odota-parser
core:
build:
context: .
dockerfile: Dockerfile
entrypoint: sleep infinity
ports:
- '5000:5000'
- '5100:5100'
environment:
PARSER_HOST: odota-parser:5600
POSTGRES_URL: postgresql://postgres:postgres@odota-postgres/yasp
READONLY_POSTGRES_URL: postgresql://readonly:readonly@odota-postgres/yasp
REDIS_URL: redis://odota-redis:6379/0
CASSANDRA_URL: cassandra://odota-scylla/yasp
ELASTICSEARCH_URL: odota-elasticsearch:9200
ARCHIVE_S3_ENDPOINT: http://odota-minio:9000
links:
- postgres
- redis
- elasticsearch
- parser
- minio
- scylla
container_name: odota-core