-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
55 lines (50 loc) · 1.09 KB
/
compose.yml
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
services:
ui:
build:
context: .
dockerfile: apps/ui/Dockerfile.dev
image: labioquim/plasmoia-ui:dev
command: ["yarn", "workspace", "ui", "dev"]
ports:
- "3000:3000"
depends_on:
- mailer
volumes:
- ./:/app
- /app/node_modules
- /app/apps/ui/.next
predictor:
build:
context: ./apps/predictor
dockerfile: Dockerfile.dev
image: labioquim/plasmoia-predictor:dev
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--reload"]
ports:
- "3001:80"
volumes:
- ./apps/predictor/app:/code/app
mailer:
image: murilofuza/simple-mail:0.0.6
env_file: .env
ports:
- "3002:3000"
volumes:
- ./emails:/templates
database:
image: postgres:15-alpine
ports:
- "65432:5432"
environment:
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "plasmoia"
volumes:
- database:/var/lib/postgresql/data
redis:
image: redis:alpine
volumes:
- redis:/data
volumes:
database:
driver: nfsvol
redis:
driver: nfsvol