-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
78 lines (78 loc) · 1.97 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
services:
backend:
build:
context: ./backend
dockerfile: ./Dockerfile
image: "backend"
environment:
DJANGO_DEBUG: 'true'
PRODUCTION: 'true'
ROOT_URL: 'http://localhost'
ROOT_HOST: 't1m.me'
EXTRA_TRUSTED_ORIGINS: 'http://localhost:8000,http://10.0.2.2:8000,capacitor-electron://-'
DJANGO_SECRET_KEY: 'SomeSecret'
DJANGO_ALLOWED_HOSTS: '*'
REDIS_URL: 'redis://redis:6379'
BASE_ADMIN_USERNAME: 'admin'
BASE_ADMIN_USER_PASSWORD: 'password'
CREATE_TEST_USERS: 'true'
ports:
- "8000:8000"
volumes:
- ./backend:/backend
hal:
image: "hal"
build:
context: ./hal
dockerfile: ./Dockerfile
environment:
DJANGO_DEBUG: 'true'
PRODUCTION: 'true'
ROOT_URL: 'http://localhost'
ROOT_HOST: 't1m.me'
EXTRA_TRUSTED_ORIGINS: 'http://localhost:8000,http://10.0.2.2:8000,capacitor-electron://-'
DJANGO_SECRET_KEY: 'SomeSecret'
DJANGO_ALLOWED_HOSTS: '*'
REDIS_URL: 'redis://redis-hal:6379'
EXTRA_APPS: ${EXTRA_APPS-}
BASE_ADMIN_USERNAME: 'admin'
BASE_ADMIN_USER_PASSWORD: 'password'
HAL_PASSWORD: "Test123!"
GROQ_API_KEY: ${GROQ_API_KEY-}
DEEPINFRA_API_KEY: ${DEEPINFRA_API_KEY-}
OPENAI_API_KEY: ${OPENAI_API_KEY-}
USE_MSGMATE_BOTS: 'false'
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "8001:8000"
- "5555:5555"
volumes:
- ./hal:/hal
frontend:
build:
context: ./frontend
dockerfile: ./Dockerfile
image: "frontend"
ports:
- "3000:3000"
- "24678:24678"
environment:
PUBLIC_ENV__DOCS_AT_INDEX: 'false'
volumes:
- ./frontend/:/frontend/
redis:
image: redis:5
ports:
- "6379:6379"
redis-hal:
image: redis:5
ports:
- "6380:6379"
ingress:
image: nginx
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./logs:/var/log/nginx