Skip to content
Snippets Groups Projects
Commit 65d6c6e2 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fix first local startup (key generation)

parent 86939072
No related branches found
No related tags found
No related merge requests found
#! /bin/sh
set -e
_term() {
echo "Stopping Process!"
kill -TERM "$fpm" 2>/dev/null
......@@ -12,8 +14,9 @@ then
pwd
ls -alh
cp .env.example .env
php artisan key:generate
php artisan key:generate || rm .env
fi
php artisan inspire
$@ &
......
......@@ -19,6 +19,8 @@ services:
- ./app:/html
fpm:
restart: unless-stopped
depends_on:
- composer
build:
dockerfile: ./build/fpm/Dockerfile
target: ${ENVIRONMENT}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment