version: '3.8'

services:
  app:
    build: .
    ports:
      - "8080:80"
    volumes:
      - .:/var/www/html
      - /var/www/html/node_modules
    environment:
      - APP_URL=http://localhost
    extra_hosts:
      - "host.docker.internal:host-gateway"
    restart: always
