-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (42 loc) · 978 Bytes
/
docker-compose.yml
File metadata and controls
52 lines (42 loc) · 978 Bytes
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
version: "2"
services:
app:
build:
context: .
volumes:
- ./app:/app
ports:
- '8000:8000'
working_dir: /app
command: uvicorn api:app --host 0.0.0.0 --reload
depends_on:
- db
env_file:
- .env
restart: always
ml:
image: internatura/ml_machine:v1
entrypoint: bash -c "echo 'export OPENBLAS_CORETYPE=ARMV8' >> ~/.bashrc && bash"
working_dir: /app
runtime: nvidia
db:
image: jamielsharief/mysql:latest
volumes:
- .db-data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
ports:
- "3307:3306"
redis:
image: redis
nginx:
image: nginx
ports:
- "8888:8888"
volumes:
- ./nginx/config/:/etc/nginx/conf.d/
- ./app:/app
depends_on:
- app
networks:
default: