# Local-dev conveniences — auto-loaded by `docker compose up`. Publishes service # ports to the host and runs the backend with hot reload (tsx watch). Not for prod. services: postgres: ports: - '${POSTGRES_PORT:-5432}:5432' redis: ports: - '${REDIS_PORT:-6379}:6379' minio: ports: - '${MINIO_PORT:-9000}:9000' - '9001:9001' centrifugo: ports: - '8000:8000' backend: build: context: . dockerfile: packages/backend/Dockerfile target: dev command: ['pnpm', 'dev'] volumes: - ./packages/backend/src:/repo/packages/backend/src - ./packages/core/src:/repo/packages/core/src ports: - '${BACKEND_PORT:-4000}:4000' nginx: ports: - '${NGINX_HTTP_PORT:-8080}:80'