# Local development compose — builds the image from this repo's source tree # and runs the service alongside a Redis container. # # Use this for verifying Dockerfile changes locally before pushing. For # day-to-day development, run `pnpm dev` directly against a host-exposed # Redis. # # For STAGE and PRODUCTION deployment, use the multi-service compose in # the sibling `deploy/` repo (https://git.dev.microservices.al/trm/deploy), # which references this service by its registry image tag instead of # building locally. # # Usage: # docker compose -f compose.dev.yaml up --build # docker compose -f compose.dev.yaml down name: tcp-ingestion-dev services: redis: image: redis:7-alpine expose: - '6379' restart: unless-stopped ingestion: build: . depends_on: [redis] ports: - '5027:5027' environment: NODE_ENV: production INSTANCE_ID: dev-1 REDIS_URL: redis://redis:6379 LOG_LEVEL: debug restart: unless-stopped