-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
45 lines (41 loc) · 964 Bytes
/
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
version: '3.9'
services:
assistant-db:
image: ankane/pgvector
container_name: assistant-db
restart: always
env_file:
- .env
ports:
- 5432:5432
assistant-ui:
image: aronweiler/assistant:latest
container_name: assistant-ui
restart: always
env_file:
- .env
environment:
- POSTGRES_HOST=host.docker.internal
ports:
- 8500:8500
volumes:
- ./tmp/assistant-ui-config/:/config/
rabbitmq:
image: 'rabbitmq:3-management'
container_name: rabbitmq
restart: always
env_file:
- .env
ports:
- '5672:5672'
- '15672:15672'
discord-bot:
image: aronweiler/assistant:latest
container_name: discord-bot
restart: always
entrypoint: >
sh -c 'if [ "$ENABLE_DISCORD_BOT" = "true" ]; then python src/discord/bot.py; else sleep infinity; fi'
env_file:
- .env
environment:
- POSTGRES_HOST=host.docker.internal