suna/docker-compose.yaml

26 lines
471 B
YAML

version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./backend/.env:/app/.env:ro
environment:
- ENV_MODE=local
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- ./frontend/.env.local:/app/.env.local:ro
environment:
- NODE_ENV=development
depends_on:
- backend