-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.docker-compose.yaml
More file actions
53 lines (48 loc) · 970 Bytes
/
dev.docker-compose.yaml
File metadata and controls
53 lines (48 loc) · 970 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
51
52
53
services:
db:
image: postgres:16.3-alpine
restart: always
volumes:
- typer-db-data:/var/lib/postgresql/data
env_file:
- .env.dev
pgadmin:
image: dpage/pgadmin4
volumes:
- typer-pgdata:/var/lib/pgadmin
env_file:
- .env.dev
ports:
- "5050:80"
depends_on:
- db
backend:
build:
context: ./backend/
dockerfile: Dockerfile.dev
ports:
- "8000:8000"
volumes:
- typer-backend-logs:/logs
- ${PWD}/backend:/backend
- ${PWD}/shared:/shared
env_file:
- .env.dev
depends_on:
- db
frontend:
build:
context: ./frontend/
dockerfile: Dockerfile.dev
ports:
- "4200:4200"
volumes:
- ${PWD}/frontend:/app
- ${PWD}/shared:/shared
- /app/node_modules # bind-mounts would otherwise overwrite it
depends_on:
- backend
volumes:
typer-backend-logs:
typer-db-data:
typer-pgdata: