From cfbd9a1a3e5eeddca0c31801cf8e567fa330b3ff Mon Sep 17 00:00:00 2001 From: Alex Gabriel Date: Wed, 20 Oct 2021 20:26:43 -0500 Subject: [PATCH] docker config --- .env.example | 10 +++++----- .env.example.docker | 4 ++-- docker/docker-compose.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.env.example b/.env.example index f5f43e3..05e9b72 100644 --- a/.env.example +++ b/.env.example @@ -10,9 +10,9 @@ LOG_LEVEL=debug DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 -DB_DATABASE=laravel -DB_USERNAME=root -DB_PASSWORD= +DB_DATABASE=bp_challenge +DB_USERNAME=bpuser +DB_PASSWORD=bppass BROADCAST_DRIVER=log CACHE_DRIVER=file @@ -50,6 +50,6 @@ PUSHER_APP_CLUSTER=mt1 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" -JWT_SECRET=sample +JWT_SECRET=some_key L5_SWAGGER_GENERATE_ALWAYS=true -L5_SWAGGER_CONST_HOST=http://localhost:8000/api +L5_SWAGGER_CONST_HOST=http://localhost:8000/api \ No newline at end of file diff --git a/.env.example.docker b/.env.example.docker index 079b8be..0a893cd 100644 --- a/.env.example.docker +++ b/.env.example.docker @@ -9,8 +9,8 @@ DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=bp_challenge -DB_USERNAME=bp_user -DB_PASSWORD=password +DB_USERNAME=bpuser +DB_PASSWORD=bpuser BROADCAST_DRIVER=log CACHE_DRIVER=file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 500f859..b9152fe 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -13,7 +13,7 @@ services: mysql: image: mysql environment: - MYSQL_ROOT_PASSWORD: root + MYSQL_ROOT_PASSWORD: rootpass MYSQL_DATABASE: bp_challenge - MYSQL_USER: bp_user - MYSQL_PASSWORD: password \ No newline at end of file + MYSQL_USER: bpuser + MYSQL_PASSWORD: bppass \ No newline at end of file