salesiq / docker-compose.yml
richlai's picture
add files
7781557
raw
history blame
487 Bytes
version: '3.8'
services:
backend:
build: ./backend
ports:
- "8000:8000"
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_REGION=${AWS_REGION}
- MONGO_URI=${MONGO_URI}
command: uvicorn app.main:app --host 0.0.0.0 --port 8000
frontend:
build: ./frontend
ports:
- "3000:3000"
environment:
- VITE_WS_URL=ws://localhost:8000
depends_on:
- backend