Skip to content
Snippets Groups Projects
Commit e0b53901 authored by Moreau Elise's avatar Moreau Elise
Browse files

mysql env variables are in a separate file now

parent 450dc760
No related branches found
No related tags found
No related merge requests found
.env 0 → 100644
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=covid
MYSQL_USER=user
MYSQL_PASSWORD=user
\ No newline at end of file
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment