jd
Laravel deployment failing
Hi, wondered if anyone had come across this before whilst deploying a laravel app on railway?
I get the following error:
7.521 Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255
-----
Dockerfile:20
-------------------
18 | COPY . /app/.
19 | RUN mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx
20 | >>> RUN composer install --ignore-platform-reqs
21 | RUN yarn install --frozen-lockfile
22 |
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c composer install --ignore-platform-reqs" did not complete successfully: exit code: 255
Error: Docker build failed
7 replies
failed opening connection to sql: default addr for network
Hi, I am trying to deploy my golang web service which connects to mysql. I have added the mysql url reference variable in my web service but currently see this error in my web service logs:
failed opening connection to sql: default addr for network
28 replies