Modular logistics and supply chain operating system (LSOS)
JavaScript driver-appfleet-managementfreight-managementinfrastructureinventory-managementlast-mile-deliverylogisticsondemandopen-sourceorder-managementroute-optimizationsupply-chain-managementtracking-and-monitoringtransport-management-systemtransportationwarehouse-management
try to debug ecs-tool run dir
Ronald A. Richardson1ff89ca16ac0
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.ymlindex be649168..ccc09c04 100644--- a/.github/workflows/cd.yml+++ b/.github/workflows/cd.yml@@ -72,7 +72,7 @@ jobs:run: |-set -eu# run deploy.sh script before deployments- env "ECS_RUN.SERVICE=app" "ECS_RUN.LAUNCH_TYPE=FARGATE" ./ecs-tool run -l "ecs-tool" --image_tag '{container_name}-${{ env.VERSION }}' --cluster ${{ env.PROJECT }}-${{ env.STACK }} --task_definition ${{ env.PROJECT }}-${{ env.STACK }}-app --container_name app ./deploy.sh+ env "ECS_RUN.SERVICE=app" "ECS_RUN.LAUNCH_TYPE=FARGATE" ./ecs-tool run -l "ecs-tool" --image_tag '{container_name}-${{ env.VERSION }}' --cluster ${{ env.PROJECT }}-${{ env.STACK }} --task_definition ${{ env.PROJECT }}-${{ env.STACK }}-app --container_name app ls -la./ecs-tool deploy --image_tag '{container_name}-${{ env.VERSION }}' --cluster ${{ env.PROJECT }}-${{ env.STACK }} -s app -s scheduler -s eventsbuild_frontend:diff --git a/docker-compose.yml b/docker-compose.ymlindex 17932c4d..cea42ca3 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -34,7 +34,7 @@ services:DATABASE_URL: "mysql://root@database/fleetbase"QUEUE_CONNECTION: redisCACHE_DRIVER: redis- CACHE_PATH: /var/www/html/api/storage/framework/cache+ CACHE_PATH: /fleetbase/api/storage/framework/cacheCACHE_URL: tcp://cacheREDIS_URL: tcp://cache@@ -60,7 +60,7 @@ services:DATABASE_URL: "mysql://root@database/fleetbase"QUEUE_CONNECTION: redisCACHE_DRIVER: redis- CACHE_PATH: /var/www/html/api/storage/framework/cache+ CACHE_PATH: /fleetbase/api/storage/framework/cacheCACHE_URL: tcp://cacheREDIS_URL: tcp://cacheSESSION_DOMAIN: localhost@@ -75,7 +75,7 @@ services:httpd:volumes:- - ./api/storage:/var/www/html/api/storage+ - ./api/storage:/fleetbase/api/storagebuild:context: .dockerfile: docker/httpd/Dockerfilediff --git a/docker/Dockerfile b/docker/Dockerfileindex 54e8f6e1..afd450d3 100644--- a/docker/Dockerfile+++ b/docker/Dockerfile@@ -79,6 +79,9 @@ RUN mkdir -p /fleetbase/api/storage/logs/ && touch /fleetbase/api/storage/logs/lRUN chown -R www-data:www-data /fleetbase/api/storageRUN chmod -R 755 /fleetbase/api/storage+# Set permissions for deploy script+RUN chmod +x /fleetbase/api/deploy.sh+# Scheduler base stageFROM base as scheduler-base@@ -112,10 +115,8 @@ FROM base as app-devENTRYPOINT ["docker-php-entrypoint"]# add --watch flag laterCMD ["sh", "-c", "php artisan octane:frankenphp --port=8000 --host=0.0.0.0 --caddyfile $CADDYFILE_PATH"]-# CMD ["sh", "-c", "frankenphp run --config $CADDYFILE_PATH"]# Application stageFROM base as appENTRYPOINT ["/sbin/ssm-parent", "-c", ".ssm-parent.yaml", "run", "--", "docker-php-entrypoint"]CMD ["sh", "-c", "php artisan octane:frankenphp --port=8000 --host=0.0.0.0 --https --http-redirect --caddyfile $CADDYFILE_PATH"]-# CMD ["sh", "-c", "frankenphp run --config $CADDYFILE_PATH"]diff --git a/docker/crontab b/docker/crontabindex 903ecc3a..a8e9d77c 100644--- a/docker/crontab+++ b/docker/crontab@@ -1 +1 @@-* * * * * php /var/www/html/api/artisan schedule:run+* * * * * php /fleetbase/api/artisan schedule:run