port
This commit is contained in:
@@ -6,7 +6,7 @@ services:
|
||||
container_name: hafiz_tunggakan_app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${APP_PORT:-8000}:8000"
|
||||
- "${APP_PORT:-8005}:80"
|
||||
environment:
|
||||
APP_NAME: "Hafiz Tunggakan"
|
||||
APP_ENV: "${APP_ENV:-production}"
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
set -e
|
||||
|
||||
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
|
||||
|
||||
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 view:cache --no-interaction
|
||||
|
||||
Reference in New Issue
Block a user