File size: 908 Bytes
e7abd9e fd8845d e7abd9e dd9222d e7abd9e 51e3f6a e7abd9e 51e3f6a 071edee e7abd9e 58582d3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile.dev
args:
- HF_TOKEN=${HF_TOKEN}
ports:
- "${BACKEND_PORT:-8000}:8000"
volumes:
- ./backend:/app
environment:
- ENVIRONMENT=${ENVIRONMENT:-development}
- HF_TOKEN=${HF_TOKEN}
- HF_HOME=${HF_HOME:-/.cache}
command: uvicorn app.asgi:app --host 0.0.0.0 --port 8000 --reload
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
args:
- OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID}
ports:
- "${FRONTEND_PORT:-7861}:7861"
volumes:
- ./frontend:/app
- /app/node_modules
environment:
- NODE_ENV=${ENVIRONMENT:-development}
- CHOKIDAR_USEPOLLING=true
- PORT=${FRONTEND_PORT:-7861}
- OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID:-unset}
command: npm start
stdin_open: true
tty: true
|