-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
48 lines (44 loc) · 902 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
version: "3.8"
services:
web:
depends_on:
- api
build: ./frontend
ports:
- 5173:5173
environment:
VITE_API_URL: https://localhost:3000
develop:
watch:
- path: ./frontend/package.json
action: rebuild
- path: ./frontend/package-lock.json
action: rebuild
- path: ./frontend
target: /app
action: sync
api:
depends_on:
- db
build: ./backend
ports:
- 8000:8000
environment:
DB_URL: https://localhost:8080
develop:
watch:
- path: ./backend/package.json
action: rebuild
- path: ./backend/package-lock.json
action: rebuild
- path: ./backend
target: /app
action: sync
db:
image: postgres:16.2
ports:
- 8080:8080
volumes:
- bowalpay:/data/db
volumes:
bowalpay: