# Development configuration - use with: # docker-compose -f docker-compose.yml -f docker-compose.dev.yml up services: db: ports: - "5433:5432" # Use 5433 to avoid conflicts with other projects redis: ports: - "6380:6379" # Use 6380 to avoid conflicts api: build: context: . target: api environment: DEBUG: "true" volumes: - ./:/app/src:ro # Mount source for debugging ports: - "8000:8000" admin: build: context: . target: admin environment: NEXT_PUBLIC_API_URL: "http://localhost:8000" ports: - "3000:3000" worker: build: context: . target: worker environment: DEBUG: "true" volumes: - ./:/app/src:ro