feat(ui): add cv application frontend and configuration
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "5173:80"
|
||||
depends_on:
|
||||
- backend
|
||||
environment:
|
||||
- VITE_API_URL=http://localhost:3001
|
||||
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3001:3001"
|
||||
volumes:
|
||||
- cv-data:/app/data
|
||||
environment:
|
||||
- PORT=3001
|
||||
- DB_PATH=/app/data/cv.db
|
||||
|
||||
volumes:
|
||||
cv-data:
|
||||
Reference in New Issue
Block a user