services: app: build: context: . dockerfile: Dockerfile ports: - "${APP_PORT:-8080}:80" env_file: - .env volumes: - ./database/database.sqlite:/var/www/html/database/database.sqlite - ./storage/app:/var/www/html/storage/app restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost/admin/login"] interval: 30s timeout: 5s retries: 3