new file: Dockerfile new file: LICENSE new file: README.md new file: app.py new file: docker-compose.yml new file: pyproject.toml new file: requirements.lock
27 lines
572 B
YAML
27 lines
572 B
YAML
# docker-compose.dev.yml
|
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
megafarse:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
cache_from:
|
|
- megaparse:latest
|
|
args:
|
|
- DEV_MODE=true
|
|
image: megafarse:latest
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
container_name: megafarse
|
|
volumes:
|
|
- ./:/app/
|
|
command: >
|
|
/bin/bash -c "python app.py"
|
|
restart: always
|
|
ports:
|
|
- 8001:8001
|
|
environment:
|
|
- OPENAI_API_BASE=https://hermes.ai.unturf.com/v1
|
|
- OPENAI_API_KEY=your_hermes_api_key_here
|