Commit e0b53901 authored by Moreau Elise's avatar Moreau Elise
Browse files

mysql env variables are in a separate file now

parent 450dc760
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment