Improve configuration with Makefile

- Add Makefile
 - Add environment configuration file
 - Use env with docker-compose and Makefile"
This commit is contained in:
Vincent Letourneau
2017-07-27 17:31:40 +02:00
parent 12f1c309e5
commit 69022ddaff
3 changed files with 92 additions and 13 deletions

10
.env Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# See https://docs.docker.com/compose/environment-variables/#the-env-file
MYSQL_DUMPS_DIR=data/db/dumps
MYSQL_DATABASE=test
MYSQL_ROOT_USER=root
MYSQL_ROOT_PASSWORD=root
MYSQL_USER=dev
MYSQL_PASSWORD=dev