[SOMA][BOT-3][INFRA] skeleton: project folder structure and all package manifests
This commit is contained in:
21
soma/docker-compose.override.yml.example
Normal file
21
soma/docker-compose.override.yml.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user