Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MOREAU Elise
project-covid
Commits
e0b53901
Commit
e0b53901
authored
Oct 31, 2020
by
Moreau Elise
Browse files
mysql env variables are in a separate file now
parent
450dc760
Changes
2
Hide whitespace changes
Inline
Side-by-side
.env
0 → 100644
View file @
e0b53901
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=covid
MYSQL_USER=user
MYSQL_PASSWORD=user
\ No newline at end of file
docker-compose.yml
View file @
e0b53901
...
...
@@ -19,11 +19,12 @@ services:
db
:
image
:
mysql:5.6
restart
:
always
env_file
:
.env
environment
:
MYSQL_ROOT_PASSWORD
:
root
MYSQL_DATABASE
:
covid
MYSQL_USER
:
user
MYSQL_PASSWORD
:
user
-
MYSQL_ROOT_PASSWORD
-
MYSQL_DATABASE
-
MYSQL_USER
-
MYSQL_PASSWORD
phpmyadmin
:
image
:
phpmyadmin
restart
:
always
...
...
@@ -33,7 +34,7 @@ services:
-
PMA_ARBITRARY=1
composer
:
image
:
composer
volumes
:
volumes
:
-
.:/var/www
working_dir
:
/var/www
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment