From ddfa3d6dd837e49ee3fb747499727379ddeb69b9 Mon Sep 17 00:00:00 2001 From: Vichingo455 Date: Wed, 1 Oct 2025 15:49:06 +0200 Subject: [PATCH] Docker --- Dockerfile | 2 ++ README.md | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7d7f918..cea2e25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,7 @@ RUN chown -R www-data:www-data /var/www/html # For now remove OpenID files from container, OpenID integration will come soon. RUN rm /var/www/html/admin/login.php.keycloak RUN rm /var/www/html/admin/logout.php.keycloak +RUN rm /var/www/html/admin/composer.json +RUN rm /var/www/html/admin/composer.lock RUN a2enmod rewrite EXPOSE 80 \ No newline at end of file diff --git a/README.md b/README.md index 2cb0d23..f164ec3 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,18 @@ header('Location: https://keycloak.local/realms/master/protocol/openid-connect/l ``` 8. **Apri ``http://localhost`` e goditi il sito** +## Installazione con Docker +NOTA: L'installazione con Docker รจ in fase di sviluppo attivo, quindi potrebbe non funzionare. +1. Installa Docker +```bash +curl -fsSL https://get.docker.com | bash +``` +2. Compila e crea il container: +```bash +docker compose up -d +``` +3. Il container dovrebbe diventare disponibile su ``http://localhost:8080`` + ## Licenza **Orario Scuola, Copyright (C) 2025 EmmeV.**