-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from PixelTux/docker
ottimizzato il processo di installazione tramite Docker
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ Se preferisci installarlo in un container Docker, segui i seguenti passaggi. | |
|
||
- composer | ||
|
||
- Docker and Docker Compose | ||
- Docker e Docker Compose | ||
|
||
### Installazione | ||
|
||
|
@@ -42,6 +42,8 @@ Se preferisci installarlo in un container Docker, segui i seguenti passaggi. | |
|
||
`php artisan key:generate` | ||
|
||
*Se stai utilizzando Docker, assicurati di aver configurato correttamente le impostazioni nel file .env, seguendo le istruzioni fornite nella sezione 'For Docker' all'interno del medesimo file.* | ||
|
||
#### 4. Avvia i contenitori Docker ed entra nella Terminale all'interno del container del progetto. | ||
`sail up -d` | ||
|
||
|
@@ -90,4 +92,4 @@ visita e consulta la documentazione ufficiale di Laravel. | |
|
||
GASdotto è distribuito in licenza AGPLv3+. | ||
|
||
Copyright (C) 2017/2023 Roberto Guido <[email protected]> | ||
Copyright (C) 2017/2023 Roberto Guido <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ APP_URL=http://www.example.com/ | |
|
||
DB_CONNECTION=mysql | ||
DB_HOST=127.0.0.1 | ||
# For Docker: | ||
#DB_HOST=mariadb | ||
DB_PORT=3306 | ||
DB_DATABASE=homestead | ||
DB_USERNAME=homestead | ||
|
@@ -17,8 +19,15 @@ QUEUE_LOOPBACK_KEY=InsertHereARandomString | |
MAIL_MAILER=smtp | ||
MAIL_HOST=smtp.provider.it | ||
MAIL_PORT=587 | ||
# For Docker: | ||
#MAIL_HOST=mailpit | ||
#MAIL_PORT=1025 | ||
MAIL_USERNAME=username | ||
MAIL_PASSWORD=password | ||
MAIL_FROM_ADDRESS=[email protected] | ||
MAIL_FROM_NAME='Il Mio GAS' | ||
MAIL_ENCRYPTION=tls | ||
|
||
# For Docker MeiliSearch: | ||
#SCOUT_DRIVER=meilisearch | ||
#MEILISEARCH_HOST=http://meilisearch:7700 |