Files
SOMA/soma/docker-compose.override.yml.example

21 lines
653 B
Plaintext

# Copy to docker-compose.override.yml for local development
# This file is gitignored
version: "3.9"
services:
backend:
volumes:
- ./backend:/app # live reload in development
environment:
- PYTHONDONTWRITEBYTECODE=1
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
frontend:
volumes:
- ./frontend:/app # live reload in development
- /app/node_modules # preserve container node_modules
- /app/.next # preserve build cache
environment:
- NODE_ENV=development
command: npm run dev