-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
46 lines (43 loc) · 1.02 KB
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
version: '3.8'
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: hvac-frontend
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_BASE_URL=https://try.tactspace.io/api
restart: unless-stopped
volumes:
- ./frontend/public:/app/public
- ./frontend/src:/app/src
# Exclude node_modules and build artifacts
- /app/node_modules
- /app/.next
networks:
- hvac-network
# If you have a backend service that the frontend depends on
depends_on:
- backend
# Backend service (uncomment and adjust as needed)
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: hvac-backend
ports:
- "8000:8000"
environment:
- PYTHONUNBUFFERED=1
volumes:
# Mount for development to enable hot reloading
- ./backend:/app
networks:
- hvac-network
restart: unless-stopped
networks:
hvac-network:
driver: bridge