-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docker installation #401
Draft
ppom0
wants to merge
4
commits into
simde-utc:cesar/migrateToPhp8
Choose a base branch
from
ppom0:cesar/migrateToPhp8
base: cesar/migrateToPhp8
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+779
−252
Draft
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
APP_NAME="Portail des Assos" | ||
APP_ENV=develop | ||
APP_KEY= | ||
APP_DEBUG=true | ||
APP_URL=http://localhost:8000 | ||
APP_ASSO=simde | ||
|
||
LOG_CHANNEL=stack | ||
|
||
DB_CONNECTION=mysql | ||
DB_HOST=database | ||
DB_PORT=3306 | ||
DB_DATABASE=portail | ||
DB_USERNAME=portail | ||
DB_PASSWORD=portail | ||
|
||
BROADCAST_DRIVER=log | ||
CACHE_DRIVER=file | ||
SESSION_DRIVER=file | ||
SESSION_LIFETIME=120 | ||
QUEUE_CONNECTION=database | ||
|
||
PUSHER_APP_ID= | ||
PUSHER_APP_KEY= | ||
PUSHER_APP_SECRET= | ||
PUSHER_APP_CLUSTER=mt1 | ||
|
||
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" | ||
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" | ||
|
||
# Fill this to add you as localy as administrator | ||
ADMIN_EMAIL= | ||
ADMIN_FIRSTNAME= | ||
ADMIN_LASTNAME= | ||
|
||
# CAS_URL=https://cas.utc.fr/cas/ | ||
# CAS_IMAGE=https://dem_utilal30/portal30.get_photo_utilisateur?username= | ||
|
||
# GINGER_KEY=fauxginger | ||
# GINGER_URL=http://fauxginger:9090/index.php/v1/ |
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
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
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 |
---|---|---|
|
@@ -17,6 +17,8 @@ The following 3 commands will download the project, move to the new folder and i | |
```bash | ||
git clone https://github.com/simde-utc/portail.git # ssh version : git clone [email protected]:simde-utc/portail.git | ||
cd portail | ||
cp .env.docker.example .env # and edit .env.docker.example | ||
chmod -R 777 storage # this command may be required to run again as root to fix permissions issues | ||
docker/run # or "docker/run -d" to run in background | ||
``` | ||
|
||
|
@@ -35,6 +37,8 @@ php artisan migrate:fresh --seed # Tables creation and seeding | |
exit # It's done. Exit the container | ||
``` | ||
|
||
The site should be accessible at [localhost:8000](http://localhost:8000), check it out! | ||
|
||
# Develop with Docker | ||
|
||
Containers and the host *share the project folder*, so you can develop normally without the need of restarting the services. | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi ? C'est des valeurs fixes car uniquement utilisées pour du dev local, pas besoin de les modifier. Elles devraient rester en dur dans le docker-compose
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je crois que c'est un paramètre qu'il faut préciser à la fois sous cette forme pour le portail…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je peux mettre celui-ci dans docker-compose aussi stu veux