-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yaml
52 lines (48 loc) · 989 Bytes
/
compose.yaml
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
name: frost
services:
frontend:
build:
context: .
dockerfile: ./frontend/Dockerfile
target: frontend
# volumes:
# working_dir: /workspaces
# ports:
# - "3000:3000"
command: sleep infinity
depends_on:
- backend
networks:
- frost-local
backend:
build:
context: .
dockerfile: ./backend/Dockerfile
target: backend
# volumes:
# working_dir: /workspaces
# ports:
# - "3001:3000"
command: sleep infinity
depends_on:
- db
networks:
- frost-local
db:
# container_name: db
image: postgres:15
volumes:
- ./db/data:/var/lib/postgresql/data
- ./db/init:/docker-entrypoint-initdb.d
# working_dir: /workspaces
# ports:
# - "5432:5432"
command: sleep infinity
environment:
POSTGRES_DB: frost
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
networks:
- frost-local
networks:
frost-local: