mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-24 06:44:20 +00:00
update for deployment to fix public storage not found
This commit is contained in:
+3
-1
@@ -13,5 +13,7 @@ RUN php artisan clear-compiled
|
||||
|
||||
COPY wait.sh /usr/local/bin/wait.sh
|
||||
RUN chmod +x /usr/local/bin/wait.sh
|
||||
CMD /usr/local/bin/wait.sh && composer update --no-scripts && composer dumpautoload && php artisan storage:link && php artisan migrate && php artisan serve --host=0.0.0.0 --port=8000
|
||||
RUN php artisan storage:link
|
||||
|
||||
CMD /usr/local/bin/wait.sh && composer update --no-scripts && composer dumpautoload && php artisan migrate && php artisan serve --host=0.0.0.0 --port=8000
|
||||
EXPOSE 8000
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
# Docs: https://caddyserver.com/docs/caddyfile
|
||||
https://exchange-staging.izyim.com {
|
||||
root /var/www/public
|
||||
fastcgi / 127.0.0.1:9000 php {
|
||||
fastcgi / 127.0.0.1:8000 php {
|
||||
index index.php
|
||||
}
|
||||
|
||||
@@ -14,7 +13,7 @@ https://exchange-staging.izyim.com {
|
||||
to /index.php?{query}
|
||||
}
|
||||
gzip
|
||||
browse
|
||||
# browse
|
||||
log stdout
|
||||
errors stdout
|
||||
on startup php-fpm --nodaemonize
|
||||
|
||||
Reference in New Issue
Block a user