services: app: build: context: . dockerfile: docker/dev.Dockerfile ports: - "8000:8000" - "5173:5173" volumes: - .:/app # Its own node_modules: npm installs the build tools' native binaries for Linux here and for # the host's platform there, and a shared folder only ever holds one of them. - /app/node_modules environment: APP_KEY: ${APP_KEY:-} APP_URL: http://localhost:8000 APP_ENV: local # Compiled views stay in the container. The host shares storage/ through the mount, and # compiled Livewire components hold absolute paths (/app/… here, the checkout's path there). VIEW_COMPILED_PATH: /tmp/views APP_DEBUG: "true" SERVER_NAME: ":8000" DB_CONNECTION: sqlite LOG_CHANNEL: stack LOG_LEVEL: debug OCTANE_MAX_EXECUTION_TIME: "300" PHP_UPLOAD_MAX_FILESIZE: "4G" PHP_POST_MAX_SIZE: "4G" PHP_MAX_EXECUTION_TIME: "300" PHP_MAX_INPUT_TIME: "300" PHP_MEMORY_LIMIT: "512M" healthcheck: test: ["CMD", "curl", "--silent", "--fail", "http://localhost:8000/up"] interval: 30s timeout: 5s start_period: 30s retries: 3