services:
  api-notetoquote:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: api-notetoquote
    restart: unless-stopped
    environment:
      - NODE_ENV=production
      - PORT=3010
    env_file: .env
    ports:
      - "127.0.0.1:3010:3010"
    healthcheck:
      test: ["CMD", "wget", "-qO-", "http://localhost:3010/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 15s
