-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94d0efa
commit f6743d1
Showing
7 changed files
with
84 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Docker of DocKing | ||
|
||
DocKing ships Docker Images too, in case you want boot it up as fast as you can for development, even production usage. | ||
DocKing ships Docker Images too. | ||
|
||
## Development | ||
## 2024 updates | ||
|
||
Check out: https://docking.shipsaas.tech/getting-started/run-on-local/docker | ||
DocKing image can be used in both development & production 😎. You can inject your own ENVs in runtime. | ||
|
||
## Production | ||
## Run DocKing | ||
|
||
Check out: https://docking.shipsaas.tech/deployment/docker | ||
TBA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env sh | ||
|
||
# Run user scripts, if they exist | ||
for f in /var/www/html/.docker/scripts/*.sh; do | ||
# Bail out this loop if any script exits with non-zero status code | ||
bash "$f" || break | ||
done | ||
chown -R www-data:www-data /var/www/html | ||
|
||
if [ $# -gt 0 ]; then | ||
# If we passed a command, run it as root | ||
exec "$@" | ||
else | ||
exec /usr/bin/supervisord -n | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
/usr/bin/php /var/www/html/artisan config:cache --no-ansi -q | ||
/usr/bin/php /var/www/html/artisan route:cache --no-ansi -q | ||
/usr/bin/php /var/www/html/artisan view:cache --no-ansi -q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
/usr/bin/php /var/www/html/artisan migrate |