Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3f-timesheet
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dockers
3f-timesheet
Commits
38d4e264
Commit
38d4e264
authored
Jul 02, 2026
by
shameelaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert
parent
b798b075
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
entrypoint.sh
+12
-11
No files found.
entrypoint.sh
View file @
38d4e264
#!/bin/bash
cd
/var/www/html
echo
"Starting Entrypoint..."
# Set permissions
find
.
-type
d
-exec
chmod 775
{}
\;
find
.
-type
f
-exec
chmod 664
{}
\;
chown
-R
www-data:www-data storage bootstrap/cache
chmod
-R
775 storage bootstrap/cache
# Composer install with Verbose output
if
[
!
-f
"vendor/autoload.php"
]
;
then
echo
"Vendor folder missing. Running Composer..."
COMPOSER_MEMORY_LIMIT
=
-1
composer install
--no-interaction
--prefer-dist
--ignore-platform-reqs
-vvv
if
[
$?
-ne
0
]
;
then
echo
"COMPOSER FAILED. Keeping container alive for debugging..."
tail
-f
/dev/null
fi
# Composer install with platform requirements ignored
if
[
!
-d
"vendor"
]
;
then
echo
"Installing Composer dependencies..."
COMPOSER_MEMORY_LIMIT
=
-1
composer install
--no-interaction
--prefer-dist
--ignore-platform-reqs
fi
#
Run Artisan
#
Ensure symlinks exist
php artisan storage:link
php artisan laravolt:link-assets
# Start Apache
# Start Apache
in the foreground
exec
apache2-foreground
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment