-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 820 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (31 loc) · 820 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
services:
backend:
build:
context: .
dockerfile: Dockerfile.backend
ports:
- "5000:5000"
environment:
FLASK_ENV: production
DATABASE_URL: sqlite:///talentmatch.db
JWT_SECRET_KEY: dev-secret-key
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID:-mock}
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET:-mock}
GOOGLE_REDIRECT_URI: http://localhost:5000/api/auth/google/callback
volumes:
- ./backend:/app
- ./config:/app/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
interval: 30s
timeout: 10s
retries: 3
frontend:
build:
context: .
dockerfile: Dockerfile.frontend.working.working
ports:
- "3000:80"
depends_on:
backend:
condition: service_healthy