-
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 1 commit
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
version: '3.7' | ||
|
||
volumes: | ||
dbdata: | ||
|
||
services: | ||
|
||
# The Back-End Application (Laravel) | ||
|
@@ -52,9 +49,10 @@ services: | |
database: | ||
image: mysql | ||
volumes: | ||
- dbdata:/var/lib/mysql | ||
- ./storage/database/mysql:/var/lib/mysql | ||
ppom0 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
environment: | ||
- MYSQL_ROOT_PASSWORD=portail | ||
- MYSQL_USER=portail | ||
- MYSQL_PASSWORD=portail | ||
- MYSQL_DATABASE=portail | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CF les ENV plus haut, en plus ca n'a pas l'air utilisé, si ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. … et sous celui-ci pour mysql. |
||
command: --default-authentication-plugin=mysql_native_password |
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 | ||
``` | ||
|
||
|
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