edh-elo/compose.yaml
2024-09-04 21:49:25 -07:00

16 lines
478 B
YAML

# This Docker Compose is intended for development, therefore it loads the code directories into the container.
services:
server:
build:
context: .
target: dev
volumes:
- type: bind
source: ./app/
# Yes, really - we're using `/app` as the WD within the container, but `uvicorn` requires an import path.
target: /app/app
- ./local-run-log-config.yaml:/app/local-run-log-config.yaml:delegated
ports:
- 8000:8000