Files
innotexBoard/docker-compose.yml
2026-01-16 18:40:39 +01:00

44 lines
935 B
YAML

version: '3.8'
services:
# Backend FastAPI
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: innotexboard-api
ports:
- "8000:8000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./backend:/app
environment:
- SECRET_KEY=your-super-secret-key-change-in-production
- FRONTEND_URL=http://localhost:3000
command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload
networks:
- innotexboard
depends_on:
- frontend
# Frontend Vue.js
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: innotexboard-web
ports:
- "3000:3000"
volumes:
- ./frontend:/app
- /app/node_modules
environment:
- VITE_API_URL=http://localhost:8000/api/v1
command: npm run dev
networks:
- innotexboard
networks:
innotexboard:
driver: bridge