-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-dev.yaml
More file actions
101 lines (94 loc) · 2.07 KB
/
Copy pathcompose-dev.yaml
File metadata and controls
101 lines (94 loc) · 2.07 KB
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
version: "3.8"
services:
db:
container_name: db
image: postgres:latest
env_file:
- .env
ports:
- '5435:5432'
networks:
- private
backend-app:
container_name: backend-app
image: edutie/backend-app
env_file:
- .env
build:
context: .
dockerfile: Dockerfile
args:
- MAVEN_REPO=/maven-repo
ports:
- "8081:8081"
volumes:
- maven-repo:/root/.m2/repository
depends_on:
- db
- keycloak
networks:
- private
- public
llm-service:
container_name: llm-service
image: edutie/llm-service
build: ../edutie-llm
command: uvicorn main:app --host 0.0.0.0 --port 80 --reload
volumes:
- ../edutie-llm:/app
ports:
- "9000:80"
env_file:
- ../edutie-llm/.env
networks:
- private
knowledge-map-service:
container_name: knowledge-map-service
image: edutie/knowledge-map-service
build: ../edutie-knowledge-map
command: uvicorn main:app --host 0.0.0.0 --port 80 --reload
volumes:
- ../edutie-knowledge-map:/app
ports:
- "9001:80"
networks:
- private
keycloak:
container_name: keycloak
image: quay.io/keycloak/keycloak:24.0.0
env_file:
- .env
command:
- start-dev
- --import-realm
ports:
- "8080:8080"
volumes:
- ../edutie-authorization-server/import/:/opt/keycloak/data/import/
- ../edutie-authorization-server/theme/:/opt/keycloak/themes/
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- private
frontend-app:
container_name: frontend-app
image: edutie/frontend-app
build:
context: ../edutie-frontend
dockerfile: Dockerfile
ports:
- "5173:5173"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ../edutie-frontend/node_modules:/app/node_modules
- ../edutie-frontend/nginx.conf:/etc/nginx/nginx.conf
networks:
- public
networks:
private:
driver: bridge
public:
driver: bridge
volumes:
maven-repo: