# Development override for docker-compose.yml # This file extends the base docker-compose.yml with development-specific services services: # Go Backend Application (Development with hot reload) backend: build: context: . dockerfile: Dockerfile.dev container_name: turash-backend-dev ports: - "8080:8080" volumes: # - /Users/damirmukimov/city_resource_graph/bugulma/backend:/app - /app/tmp # user: "502:20" environment: - SERVER_PORT=8080 - NEO4J_URI=neo4j://neo4j:7687 - NEO4J_USER=neo4j - NEO4J_PASSWORD=test123456 - POSTGRES_DSN=host=postgres port=5432 user=turash password=turash123 dbname=turash sslmode=disable - REDIS_ADDR=redis:6379 - REDIS_PASSWORD=turash123 - NATS_URL=nats://nats:4222 - GIN_MODE=debug - LOG_LEVEL=debug - CORS_ALLOWED_ORIGINS=* - DEBUG=true depends_on: neo4j: condition: service_healthy postgres: condition: service_healthy redis: condition: service_healthy nats: condition: service_healthy networks: - turash-network restart: unless-stopped # Override healthcheck for development healthcheck: test: [ "CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health", ] interval: 30s timeout: 10s retries: 3