Skip to content

Commit

Permalink
created .env.docker by now
Browse files Browse the repository at this point in the history
  • Loading branch information
BadChoice committed Sep 10, 2017
1 parent a5ddf0f commit e2a18e1
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 8 deletions.
57 changes: 57 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
APP_NAME=Handesk
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
APP_LOCALE=en
APP_FALLBACK_LOCALE=en

MYSQL_ROOT_PASSWORD=super-secret
MYSQL_DATABASE=homestead
MYSQL_USER=homestead
MYSQL_PASSWORD=secret
MYSQL_PORT=3306

DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

MAIL_FETCH_HOST=smtp.yourmail.com
MAIL_FETCH_PORT=110
MAIL_FETCH_USERNAME=hello@handesk.com
MAIL_FETCH_PASSWORD=secret-password
MAIL_FETCH_OPTIONS=/pop3
// for options check https://secure.php.net/manual/de/function.imap-open.php

MAIL_SSLOPTIONS_ALLOW_SELF_SIGNED=false
MAIL_SSLOPTIONS_VERIFY_PEER=true
MAIL_SSLOPTIONS_VERIFY_PEER_NAME=true

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=

BITBUCKET_USER=bitbucket-user-if-using-basic-auth
BITBUCKET_PASSWORD=bitbucket-password-if-using-basic-auth
BITBUCKET_KEY=the-bitbucket-key-if-using-oauth
BITBUCKET_SECRET=the-bitbucket-secret-using-oauth
10 changes: 2 additions & 8 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP_NAME=HanDesk
APP_NAME=Handesk
APP_ENV=local
APP_KEY=
APP_DEBUG=true
Expand All @@ -7,14 +7,8 @@ APP_URL=http://localhost
APP_LOCALE=en
APP_FALLBACK_LOCALE=en

MYSQL_ROOT_PASSWORD=super-secret
MYSQL_DATABASE=homestead
MYSQL_USER=homestead
MYSQL_PASSWORD=secret
MYSQL_PORT=3306

DB_CONNECTION=mysql
DB_HOST=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
Expand Down
1 change: 1 addition & 0 deletions docker-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# To run in the background, run this:
./run-local up --build -d
```
> You can use the `.env.docker`
## Using xdebug for local development
These guidelines are for PHPSTORM
Expand Down

1 comment on commit e2a18e1

@deleugpn
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome idea

Please sign in to comment.