port
This commit is contained in:
@@ -6,7 +6,7 @@ services:
|
|||||||
container_name: hafiz_tunggakan_app
|
container_name: hafiz_tunggakan_app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8000}:8000"
|
- "${APP_PORT:-8005}:80"
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: "Hafiz Tunggakan"
|
APP_NAME: "Hafiz Tunggakan"
|
||||||
APP_ENV: "${APP_ENV:-production}"
|
APP_ENV: "${APP_ENV:-production}"
|
||||||
|
|||||||
@@ -2,10 +2,11 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ -z "${APP_KEY}" ]; then
|
if [ -z "${APP_KEY}" ]; then
|
||||||
php artisan key:generate --force --no-interaction
|
export APP_KEY="base64:$(php -r 'echo base64_encode(random_bytes(32));')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p storage/framework/cache storage/framework/sessions storage/framework/views storage/logs bootstrap/cache
|
mkdir -p storage/framework/cache storage/framework/sessions storage/framework/views storage/logs bootstrap/cache
|
||||||
|
chmod -R ug+rwX storage bootstrap/cache
|
||||||
|
|
||||||
php artisan config:clear --no-interaction
|
php artisan config:clear --no-interaction
|
||||||
php artisan view:cache --no-interaction
|
php artisan view:cache --no-interaction
|
||||||
|
|||||||
Reference in New Issue
Block a user