Complete MVP implementation including: - PHP 8.4 backend with Front Controller pattern (80+ API endpoints) - Multi-tenant architecture with organization_id isolation - JWT authentication (HS256, 2h access + 7d refresh tokens) - 14 controllers: Auth, Organization, Assessment, Dashboard, Risk, Incident, Policy, SupplyChain, Training, Asset, Audit, Admin - AI Service integration (Anthropic Claude API) for gap analysis, risk suggestions, policy generation, incident classification - NIS2 gap analysis questionnaire (~80 questions, 10 categories) - MySQL schema (20 tables) with NIS2 Art. 21 compliance controls - NIS2 Art. 23 incident reporting workflow (24h/72h/30d) - Frontend: login, register, dashboard, assessment wizard, org setup - Docker configuration (PHP-FPM + Nginx + MySQL) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
331 B
Docker
19 lines
331 B
Docker
FROM php:8.4-fpm-alpine
|
|
|
|
# Extensions
|
|
RUN docker-php-ext-install pdo pdo_mysql
|
|
|
|
# Curl extension
|
|
RUN apk add --no-cache curl-dev && docker-php-ext-install curl
|
|
|
|
# Config
|
|
COPY docker/php.ini /usr/local/etc/php/conf.d/custom.ini
|
|
|
|
WORKDIR /var/www/nis2-agile
|
|
|
|
COPY . .
|
|
|
|
RUN chown -R www-data:www-data /var/www/nis2-agile
|
|
|
|
EXPOSE 9000
|