version: "3.8" services: lan-web: build: . image: lan-web:latest restart: unless-stopped ports: - "${APP_PORT:-8081}:${APP_PORT:-8081}" env_file: - .env volumes: - ./:/app:ro healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:${APP_PORT:-8081}/ || exit 1"] interval: 30s timeout: 5s retries: 3