Skip to content

Commit

Permalink
Use default .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
Lusitaniae committed Oct 28, 2018
1 parent fa6bbf8 commit 62be3ce
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
17 changes: 17 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
APP_ENV=local
APP_DEBUG=true
APP_KEY=
APP_TIMEZONE=UTC

LOG_CHANNEL=stack
LOG_SLACK_WEBHOOK_URL=

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

CACHE_DRIVER=array
QUEUE_DRIVER=sync
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
/.idea
Homestead.json
Homestead.yaml
.env
*.sqlite
composer\.lock
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ Build the containers

`docker-compose up --build -d`

Use default config file

`docker-compose exec app cp .env.example .env`

Run database migrations

`docker-compose exec app php artisan migrate --seed`
Expand Down
3 changes: 3 additions & 0 deletions resources/docker/app.dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Base minimal image with FPM
FROM php:7.2-fpm-alpine

# Install dependencies
RUN docker-php-ext-install mysqli pdo pdo_mysql

0 comments on commit 62be3ce

Please sign in to comment.