24 lines
419 B
YAML
24 lines
419 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
api:
|
|
build:
|
|
context: ../..
|
|
dockerfile: infra/docker/Dockerfile
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ../../app:/app/app
|
|
- ../../resources:/app/resources
|
|
environment:
|
|
- PYTHONPATH=/app
|
|
depends_on:
|
|
- redis
|
|
|
|
redis:
|
|
image: redis:alpine
|
|
ports:
|
|
- "6379:6379"
|
|
|
|
# Add other services as needed (postgres, influxdb, timescaledb)
|