-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
62 lines (57 loc) · 1.11 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
56
57
58
59
60
61
62
services:
api:
image: labioquim/qsar-api:dev
build:
context: .
dockerfile: apps/api/Dockerfile.dev
command: ['yarn', 'workspace', 'api', 'start:dev']
links:
- database
ports:
- "3001:3000"
volumes:
- ./:/app
- files:/files
- /app/node_modules
ui:
build:
context: .
dockerfile: apps/ui/Dockerfile.dev
image: labioquim/qsar-ui:dev
command: ["yarn", "workspace", "ui", "dev"]
ports:
- "3000:3000"
depends_on:
- api
- mailer
volumes:
- ./:/app
- /app/node_modules
- /app/apps/ui/.next
mailer:
image: murilofuza/simple-mail:0.0.6
env_file: .env
ports:
- "3002:3000"
volumes:
- ./emails:/templates
database:
image: postgres:15-alpine
environment:
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "qsar"
ports:
- "5432:5432"
volumes:
- database:/var/lib/postgresql/data
redis:
image: redis:alpine
volumes:
- redis:/data
volumes:
database:
driver: nfsvol
files:
driver: nfsvol
redis:
driver: nfsvol