-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
48 lines (45 loc) · 834 Bytes
/
Copy pathcompose.dev.yaml
File metadata and controls
48 lines (45 loc) · 834 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
name: "finflow-app"
services:
postgres:
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: finflowdb
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- finflow-net
redis:
image: redis:8
ports:
- 6379:6379
restart: unless-stopped
networks:
- finflow-net
server:
build:
context: .
dockerfile: Dockerfile.dev
restart: unless-stopped
ports:
- 3000:3000
environment:
- NODE_ENV=development
env_file:
- .env
depends_on:
- postgres
- redis
volumes:
- ./:/app
- /app/node_modules
networks:
- finflow-net
volumes:
pgdata: null
networks:
finflow-net: null