-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
33 lines (31 loc) · 832 Bytes
/
compose.yaml
File metadata and controls
33 lines (31 loc) · 832 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
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: node_backend
ports:
- "4444:4444"
environment:
API_PORT: 4444
SQLITE_FILENAME: /usr/src/app/data/job_data.sqlite
SUPABASE_URL: https://yoursite.supabase.co
SUPABASE_ANON: your_secret_key
volumes:
- ./data:/usr/src/app/data
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: react_frontend
ports:
- "42000:80"
depends_on:
- backend
restart: unless-stopped
environment:
VITE_SUPABASE_URL: https://yoursite.supabase.co
VITE_SUPABASE_ANON: your_secret_key
VITE_API_BASE_URL: https://api.jobtrackr.online
VITE_FRONTEND_BASE_URL: https://jobtrackr.online