Docker
This commit is contained in:
@@ -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.
|
# 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/login.php.keycloak
|
||||||
RUN rm /var/www/html/admin/logout.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
|
RUN a2enmod rewrite
|
||||||
EXPOSE 80
|
EXPOSE 80
|
12
README.md
12
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**
|
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
|
## Licenza
|
||||||
**Orario Scuola, Copyright (C) 2025 EmmeV.**
|
**Orario Scuola, Copyright (C) 2025 EmmeV.**
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user