-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yaml
47 lines (45 loc) · 938 Bytes
/
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
name: vexora_api
services:
redis:
image: redis:7.4.1-alpine
restart: always
ports:
- "6379:6379"
networks:
- vexora-nginx-network
vexora:
build: .
restart: always
ports:
- "5555:5555"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- HOST_IP=host.docker.internal
- MOOD_DETECTION_URL=http://host.docker.internal:8000/mood-detection
develop:
watch:
- path: ./
action: rebuild
depends_on:
- redis
links:
- redis
healthcheck:
test: [ "CMD", "redis-cli","ping" ]
networks:
- vexora-nginx-network
model:
build:
context: .
dockerfile: api/Vexora-Model/Dockerfile
restart: always
ports:
- "8000:8000"
environment:
- HOST_IP=host.docker.internal
networks:
- vexora-nginx-network
networks:
vexora-nginx-network:
driver: bridge