-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
42 lines (38 loc) · 870 Bytes
/
Copy pathcompose.yaml
File metadata and controls
42 lines (38 loc) · 870 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
name: variantcad
services:
variantcad-db:
image: postgres
container_name: variantcad-db
restart: always
ports:
- 5434:5432
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: mysecretpassword
POSTGRES_DB: local
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- variantcad-pgdata:/var/lib/postgresql/data
variantcad-backend:
build: ./backend
container_name: variantcad-backend
ports:
- 8000:8000
volumes:
- ./backend:/app
- /app/__pycache__
variantcad-frontend:
build: ./frontend
container_name: variantcad-frontend
ports:
- 5173:5173
environment:
CHOKIDAR_USEPOLLING: "true"
CHOKIDAR_INTERVAL: "300"
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- variantcad-db
volumes:
variantcad-pgdata: