-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
132 lines (124 loc) · 3.06 KB
/
docker-compose.yaml
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Strictly used for development purposes
services:
qdrant:
container_name: qdrant
image: qdrant/qdrant:latest
ports:
- "6333:6333"
- "6334:6334"
networks:
- alioth
rabbitmq:
container_name: rabbitmq
image: rabbitmq:management
ports:
- "5672:5672"
- "15672:15672"
networks:
- alioth
minio:
container_name: minio
image: minio/minio:latest
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: supersecret
command: server --console-address ":9001" /data
networks:
- alioth
alioth:
container_name: alioth
image: ghcr.io/coolfool/alioth:main
ports:
- "1337:1337"
depends_on:
- qdrant
- rabbitmq
- minio
entrypoint: /bin/bash
command: -c "make run-alioth"
environment:
QDRANT_DB_HOST: qdrant
BROKER_HOST: rabbitmq
AWS_ENDPOINT_URL: http://minio:9000
volumes:
- ./config/hosts.docker.json:/app/config/hosts.json
networks:
- alioth
alioth_celery_ingestion_worker:
container_name: alioth_celery_ingestion_worker
image: ghcr.io/coolfool/alioth:main
entrypoint: /bin/bash
command: -c "make spawn-ingestion-celery-worker"
depends_on:
- qdrant
- rabbitmq
- minio
- alioth
environment:
QDRANT_DB_HOST: qdrant
BROKER_HOST: rabbitmq
AWS_ENDPOINT_URL: http://minio:9000
volumes:
- ./config/hosts.docker.json:/app/config/hosts.json
networks:
- alioth
alioth_celery_backup_worker:
container_name: alioth_celery_backup_worker
image: ghcr.io/coolfool/alioth:main
entrypoint: /bin/bash
command: -c "make spawn-backup-celery-worker"
depends_on:
- qdrant
- rabbitmq
- minio
- alioth
environment:
QDRANT_DB_HOST: qdrant
BROKER_HOST: rabbitmq
AWS_ENDPOINT_URL: http://minio:9000
volumes:
- ./config/hosts.docker.json:/app/config/hosts.json
networks:
- alioth
alioth_celery_restore_worker:
container_name: alioth_celery_restore_worker
image: ghcr.io/coolfool/alioth:main
entrypoint: /bin/bash
command: -c "make spawn-restore-celery-worker"
depends_on:
- qdrant
- rabbitmq
- minio
- alioth
environment:
QDRANT_DB_HOST: qdrant
BROKER_HOST: rabbitmq
AWS_ENDPOINT_URL: http://minio:9000
volumes:
- ./config/hosts.docker.json:/app/config/hosts.json
networks:
- alioth
alioth_celery_beat_worker:
container_name: alioth_celery_beat_worker
image: ghcr.io/coolfool/alioth:main
entrypoint: /bin/bash
command: -c "make spawn-celery-beat-worker"
depends_on:
- qdrant
- rabbitmq
- minio
- alioth_celery_backup_worker
environment:
QDRANT_DB_HOST: qdrant
BROKER_HOST: rabbitmq
AWS_ENDPOINT_URL: http://minio:9000
BACKUP_SCHEDULE: "300" # for demo purposes
volumes:
- ./config/hosts.docker.json:/app/config/hosts.json
networks:
- alioth
networks:
alioth: