version: '3'

name: siren
services:
  ui:
    container_name: siren-ui
    env_file:
      - .env
    environment:
      - NODE_ENV=${NODE_ENV:-development}
    ports:
      - ${UI_PORT:-3000}:3000
    build:
      context: ./
      target: dev
    command: "npm run dev"
    volumes:
      - ./src:/app/src
      - ./public:/app/public
      - ./styles:/app/styles
    networks:
      - siren-frontend
    restart: unless-stopped

networks:
  siren-frontend: {}
