Skip to content

Commit

Permalink
docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Gabriel committed Oct 21, 2021
1 parent fa299b9 commit cfbd9a1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions .env.example.docker
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
MYSQL_USER: bpuser
MYSQL_PASSWORD: bppass

0 comments on commit cfbd9a1

Please sign in to comment.