/
githubmirror
/
screenshot-to-code
Обзор
Документация
Войти
/
githubmirror
/
screenshot-to-code
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docker-compose.yml
27 строк
609 B
Abi Raja
update more values to 7001
20 ноя 2023, 05:41
20 ноя 2023, 05:41
63add37
Код
Авторство
О чём код?
version: '3.9' services: backend: build: context: ./backend dockerfile: Dockerfile env_file: - .env # or # environment: #- BACKEND_PORT=7001 # if you change the port, make sure to also change the VITE_WS_BACKEND_URL at frontend/.env.local # - OPENAI_API_KEY=your_openai_api_key ports: - "${BACKEND_PORT:-7001}:${BACKEND_PORT:-7001}" command: poetry run uvicorn main:app --host 0.0.0.0 --port ${BACKEND_PORT:-7001} frontend: build: context: ./frontend dockerfile: Dockerfile ports: - "5173:5173"