-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
76 lines (68 loc) · 1.39 KB
/
docker-compose.yml
File metadata and controls
76 lines (68 loc) · 1.39 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
services:
db:
image: postgres:latest
container_name: sanalyz-db
environment:
- POSTGRES_USER=sanalyz
- POSTGRES_PASSWORD=sanalyz
- POSTGRES_DB=sanalyz
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: always
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
volumes:
- pgadmin_data:/var/lib/pgadmin
depends_on:
- db
restart: always
api:
build: ./API
container_name: api-spring
ports:
- "8080:8080"
volumes:
- ./API:/app
depends_on:
- db
restart: always
front:
build: ./Front
container_name: sanalyz-front
ports:
- "4200:4200"
restart: always
ia:
build: ./IA
container_name: ia
ports:
- "4200:4200"
restart: always
ia-train:
build: ./IA
container_name: ia-train
volumes:
- ./IA:/app
- ./IA/models:/app/models
- ./IA/.env:/app/.env
command: ["python", ".", "train"]
restart: "no"
etl:
build: ./Scripting
container_name: sanalyz-etl
volumes:
- ./Scripting:/app
- ./datasets:/datasets
command: ["python", "etl", "/datasets", "http://api:8080"]
restart: "no"
volumes:
pgdata:
pgadmin_data: