Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

FireBlade's avatar

Multiple HTTPS Laravel Apps On Docker

Trying to setup NGINX reverse proxy on my server to connect to a Laravel app on Docker. The default NGINX server block is still untouched. I have added and enabled this server block: server { server_name example.com www.example.com; listen [::]:443 ssl http2 ipv6only=on; # managed by Certbot listen 443 ssl http2; # managed by Certbot ssl_certificate /etc/letse

FireBlade's avatar
FireBlade's avatar FireBlade3yrs agoLaravel
1
1
Last reply by FireBlade 3yrs ago
_christoph's avatar

docker / sail up / artisan serve

I've been away from Laravel development for a while. Too long, sadly. A lot of other, higher priority items, kept me away. While I was developing, I was using a Docker environment and I would use sail up to get all my containers running and then php artisan serve to get my site up. It was using the default address of 127.0.0.1:8000. Everything worked. But now, and I'm not

_christoph's avatar
_christoph's avatar Sinnbeck3yrs agoLaravel
3
1
Last reply by Sinnbeck 3yrs ago
PitykePadavan's avatar

php in Laravel 9 (with Docker + WSL2)

I installed Laravel 9 to my Windows, using Docker and WSL2 according to the docs Everything went super smoothly. So when I practise Laravel: Open WSL2 terminal Start Docker Go to the Laravel directory, and open VS Code with the .code command Start my Laravel app using sail up (sail is an alias for ./vendor/bin/sail) And I can do stuff. I started to watch the VS Code series r

PitykePadavan's avatar
PitykePadavan's avatar Sinnbeck3yrs agoLaravel
1
1
Last reply by Sinnbeck 3yrs ago
murilo's avatar

Circle CI , laravel project docker error

Hello , I am studding a course of laravel with docker . of Andrew Schmelyun . well , at the end of the course we deploy with Circle CI , a Laravel Docker Project . It didnt work for me . Errror - #!/bin/bash -eo pipefail sudo apt update 0% [Working]Get:1 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB] 0% [Waiting for headers] [1 InRelease 8004

murilo's avatar
murilo's avatar murilo3yrs agoServers
0
1
murilo's avatar

Docker on production , error - RedisException READONLY You can't write against a read only replica.

Hello , I am trying to push a nginx server with docker on production . I am having error with Redis in production server . It is giving this error - RedisException READONLY You can't write against a read only replica. in localhost it is working . it is giving this error only on production . My docker-compose.yml - version: '3.8' networks: laravel: name: laravel

murilo's avatar
murilo's avatar wmag7773yrs agoServers
6
1
Last reply by wmag777 3yrs ago
boyjarv's avatar

craftCMS setup - docker desktop - php version

when I run: ddev start craft I get: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.30. in /var/www/html/vendor/composer/platform_check.php on line 24 on my machine there is no path /var/www I have tried everything php -v I get: PHP 8.1.8 I'm assuming it's looking at the php ve

boyjarv's avatar
boyjarv's avatar vargasman1...1yr agoGeneral
1
1
Last reply by vargasman11 1yr ago
freemanx's avatar

How to push Laravel app to docker hub after using Laravel Sail

Hello, I want to push my project image to docker hub, I used laravel sail but I read that it is only for local environment My project: Laravel + mysql Does anyone have a tutorial or configuration example that could help me do this please?

freemanx's avatar
freemanx's avatar Sinnbeck3yrs agoGeneral
5
2
Last reply by Sinnbeck 3yrs ago
marsuch's avatar

docker composer.json not find

Hi, I want to say up front that I'm still learning with the docker. And I'm not using dockerfile but docker-compose. At the same time I use dev enviroments within docker. From my git I downloaded an older laravel project, and with the help of google I built this docker-compose.yml ################################################################################ # SERVICES ######

marsuch's avatar
marsuch's avatar marsuch3yrs agoLaravel
4
1
Last reply by marsuch 3yrs ago
Toskan's avatar

Docker tutorial missing a crucial detail

that detail would be: In case I'm not a docker god like Andrew Schmelyun, how do I debug faulty state? E.g. when things go south, and something just doesn't work: what do I do? "I want but docker does not want :(" now what? what is the basic process to debug / solve issues with docker?

Toskan's avatar
Toskan's avatar Sinnbeck3yrs agoGeneral
3
1
Last reply by Sinnbeck 3yrs ago
murilo's avatar

Create 2 Laravel projects with docker compose , with 1 dataase

hello , I am trying to create 2 Laravel projects with docker compose . But 1 databse . I want to share these databse between the two projects . Is that possible ? I am tryin to do like this - PROJECT ONE - docker-compose.yaml - version: "3.9" networks: project_one: services: server: # image: 'nginx:stable-alpine' build: context: . dockerfile:

murilo's avatar
murilo's avatar martinbean3yrs agoLaravel
1
1
Last reply by martinbean 3yrs ago
nikocraft's avatar

Laravel on windows with Docker and Linux subsystem issue

When running with Docker on Windows and using linux subsystem (WSL version 2) I can't get Docker to delete any container that I want to remove. Anyone else had this problem on windows and how to solve it? See screenshot to how Docker responds: https://i.imgur.com/jEpGbq7.png Docker says "can't remove docker container, reason being that folder in question '/home/niko/larave

nikocraft's avatar
nikocraft's avatar MohamedTam...3yrs agoCode Review
1
1
Last reply by MohamedTammam 3yrs ago
warmwhisky's avatar

Laravel with sail and docker all of sudden slow today

As of today my migrations and mysql are terribly slow. 41 seconds to create spatie permissions table create_permission_tables (41,778.28ms) I am not aware of changing anything apart from upgrading Docker Desktop last week. I also found an update for Docker today, but the speed is still super slow. Does anyone have any ideas? Windows 10 Docker 4.10.0 WSL2 Ubuntu 20.04 Laravel 9.

warmwhisky's avatar
warmwhisky's avatar warmwhisky3yrs agoLaravel
6
1
Last reply by warmwhisky 3yrs ago
MisstypingMeerkat's avatar

Setting up XDebug on Docker, PHPStorm and my Laravel app?

Hi there, I am trying to xdebug my laravel app inside docker with PHPStorm, but I can’t seem to get it working. I have done this setup before without docker where my web server runs on the host os and never had much trouble with it, but in the current setup I’m pretty confused. When I set PHP to “Break at first line in PHP scripts” it would sometimes stop while I was trying dif

MisstypingMeerkat's avatar
MisstypingMeerkat's avatar benmag3yrs agoCode Review
1
1
Last reply by benmag 3yrs ago
FireBlade's avatar

Laravel docker in production not responding

First- on the production server ensure that port 80 is not being used and that no docker container is running. On my dev machine, this is the docker-compose-prod.yml file: version: "3.7" services: app: build: context: ./ dockerfile: Dockerfile2 image: laranetwork container_name: laranetwork-app restart: unless-stopped working_dir: /va

FireBlade's avatar
FireBlade's avatar FireBlade3yrs agoLaravel
7
1
Last reply by FireBlade 3yrs ago
SteveRaines's avatar

How to use mysql from within another Docker container?

I've got a laravel project that uses a mysql database, it's hosted on bitbucket and we're wanting to use their pipelines feature. The actual pipeline seems simple enough, it's testing my bitbucket-pipelines.yml file that's the difficult part. I read that you should use Docker to spin up some containers of your app and mysql, then run the "script" portion of your pipel

SteveRaines's avatar
SteveRaines's avatar SteveRaine...3yrs agoCode Review
0
1
Mick79's avatar

Any guides for putting a laravel app into docker?

I'm looking to move away from Heroku and the best option seems to be Render, but this requires Docker. All advice, suggestions, input welcome.

Mick79's avatar
Mick79's avatar Mick792yrs agoGeneral
11
8
Last reply by Mick79 2yrs ago
osama_abdullah's avatar

How to deploy two laravel applications with docker?

When you deploy the laravel application using docker in production you need at least two containers Nginx, PHP and the source code should be in both containers, if you deploy another laravel application on the same (port, server) you have to put the source code of the second application in the Nginx container too which makes both applications depend on each other and cause prob

osama_abdullah's avatar
osama_abdullah's avatar osama_abdu...4yrs agoLaravel
2
1
Last reply by osama_abdullah 4yrs ago
murilo's avatar

Docker / How Can I do - 2 docker composes ( 2 Laravel Apps ) , 1 database , 1 phpMyAdmin

Hello , I know how to make 2 laravel Apps with 2 databases . But I woold like to do like this - 2 docker composes 2 Laravel Apps 1 database 1 phpMyAdmin But the first Application connects to database , the second is not connecting - FIRST APP - Docker Compose File - version: "3.9" networks: lte_sso_one: name: lte_sso_one # laral_project_api_app_laravel_work

murilo's avatar
murilo's avatar murilo4yrs agoGeneral
3
1
Last reply by murilo 4yrs ago
tatpongpro's avatar

DOCKER : SQLSTATE[HY000] [2002] No such file or directory

IN DOCKER COMPOSE version: '3' networks: micro: driver: bridge services: db: image: mysql:5.7 command: mysqld --sql_mode="" container_name: micro_db environment: MYSQL_ROOT_PASSWORD: my_secret_password MYSQL_DATABASE: app_db MYSQL_USER: db_user MYSQL_PASSWORD: db_user_pass SERVICE_TAGS: dev SERVICE_NAME: mysql restart: always ports: - "6034:3306" volumes: -

tatpongpro's avatar
tatpongpro's avatar tatpongpro4yrs agoCode Review
1
1
Last reply by tatpongpro 4yrs ago
ivymasterman's avatar

How to run a Laravel app with docker compose?

Hello everyone, I know that this is a silly question, but can anyone provide a functioning docker-compose script for a simple, new, out-of-the-box laravel app. I have tried so many articles online, but somehow they all fail when the DB service starts its thing. I just want to ask you for a functioning script, that I can use, and tinker around it. I am a Docker newbie, please ke

ivymasterman's avatar
ivymasterman's avatar Sinnbeck4yrs agoLaravel
2
1
Last reply by Sinnbeck 4yrs ago
digpublisher's avatar

Laravel Docker and Minio setup issues

I am moving from Homestead to Docker and I have issues with setting up Minio. Created a new project with mysql and minio (didn't touch a thing) to produce docker-compose.yml: version: '3' services: laravel.test: ... networks: - sail depends_on: - mysql - minio mysql: ... networks: - sail healthcheck: test: ["CMD", "mysqladmin", "ping", "-p${DB

digpublisher's avatar
digpublisher's avatar arifhusain...3yrs agoCode Review
2
1
Last reply by arifhusaini97 3yrs ago
ScottTrakker's avatar

Laravel in Docker: Class "PDO" not found

Hello developers, I try to run Laravel with Docker but when I run php artisan migrate I get the error Class "PDO" not found. This is docker-compose file that I use: version: 3.4 services: php-apache-environment: container_name: php-apache build: context: . dockerfile: Dockerfile depends_on: - db volumes: - ./www:/var/www/html:

ScottTrakker's avatar
ScottTrakker's avatar ScottTrakk...4yrs agoLaravel
7
1
Last reply by ScottTrakker 4yrs ago
rajeshtva's avatar

cors issue in post request while deploying laravel inside docker

I have a laravel app which is running behind nginx proxy manager. The laravel app is running inside a docker container and nuxt frontend is also running inside another docker container. Laravel is using fortify, sanctum packages for authentication and session validation. The issue is that when i try to login using a fake user. then all preflight request, get request works perfe

rajeshtva's avatar
rajeshtva's avatar mashferd3yrs agoGuides
1
1
Last reply by mashferd 3yrs ago
superbeaver's avatar

Docker and running a queue (supervisor)

I need a little help with Docker because I can't find a solution. I'm trying to make a Laravel Queue work (running a supervisor). My docker-compose.yml containing 3 Laravel applications looks something like this: services: mysql: image: mysql:8 basket-api: build: context: . dockerfile: Services/Basket/Basket.API/Dockerfile depends_on: - mys

superbeaver's avatar
superbeaver's avatar mohamadTR1yr agoCode Review
2
1
Last reply by mohamadTR 1yr ago
darrenlr's avatar

Laravel Vapor Wkhtmltopdf in Docker runtime

Hi all, I'm trying to get wkhtmltopdf working in a project on Vapor using a docker based runtime. This is the production.Dockerfile FROM laravelphp/vapor:php81 RUN apk add --update --no-cache \ wkhtmltopdf \ xvfb \ ttf-dejavu ttf-droid ttf-freefont ttf-liberation \ ; COPY . /var/task However I'm running into this error when I try to deploy: #5

darrenlr's avatar
darrenlr's avatar darrenlr4yrs agoVapor
1
1
Last reply by darrenlr 4yrs ago
Rainieren's avatar

Docker & Gitlab CI/CD deploy laravel app returns SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed in pipeline

At first, excuse me for the long thread. I'm trying to be as understandable as possible so here we go. I just have a real hard time understanding Gitlab CI CD and it frustrates me. I’ve been trying to understand it and get it to work for the longest time but I just can’t get my head around it or get it to work. I have a extremely simple Laravel installation with Tailwind, Vue e

Rainieren's avatar
Rainieren's avatar Rainieren4yrs agoLaravel
0
1
deiks's avatar

Laravel reload on change (Docker, Mix, React, Browsersync)

Hi there, I have a problem with reloading page when making changes on frontend part. I will try to describe you how my setup looks like and what do I want to achieve. I'm using docker setup with several containers (nginx, reactjs, api, database). Everything operates normally, nginx takes connection on port 80 and pass it to react or api containers, depending of the url, if it's

deiks's avatar
deiks's avatar deiks4yrs agoLaravel
0
1
hanisharun's avatar

Laravel multiple database Docker deploymeny

I need help with my laravel deployment using docker on the live server. In the beginning, the system was developed with single mysql database. It was deployed on the server using docker and has worked perfectly. Since I need to pull data from another db (using sqlsrv and mysql) on a different server, I added a connection in the env file and config/database.php. In the details,

hanisharun's avatar
hanisharun's avatar hanisharun4yrs agoLaravel
0
1
deadrabbits's avatar

Laravel passport on docker not working

I have a Laravel application on my local and implement Laravel Passport. I have an API route to return tokens for password grant type. I follow the official documentation https://laravel.com/docs/8.x/passport#requesting-password-grant-tokens to make it. when I run Laravel with php artisan serve it is working. But when I try to dockerize my Laravel and hit that API route using p

deadrabbits's avatar
deadrabbits's avatar okusax4yrs agoLaravel
1
1
Last reply by okusax 4yrs ago
mhrdd's avatar

laravel on windows with docker - why is project stored in Windows File System?

If I follow the documentation for installing laravel 9 on Windows using docker, the project directory ends up in the Windows file system (in my Home directory), and is accessed from WSL via a mount point. When opening the project in VSCode, the "Remote - WSL" extension warns: "This workspace is on the Windows file system (/mnt/). For best performance, we recommen

mhrdd's avatar
mhrdd's avatar mhrdd4yrs agoLaravel
4
3
Last reply by mhrdd 4yrs ago
PlasticHeart's avatar

How do I make my container sync the files I make? (docker)

I'm making a web application but I want to develop it in docker, but when I am using my container, the container files are not synchronized with the ones that are shown in the text editor, how can I solve that? The files that are not synchronized are, for example, the migrations or the composer.json, that is, when I install a package through composer, those changes are not refl

PlasticHeart's avatar
PlasticHeart's avatar Sinnbeck4yrs agoLaravel
9
1
Last reply by Sinnbeck 4yrs ago
luke___'s avatar

I don't get docker compose and Laravel; why multiple containers?

I'm new to using Docker and docker compose and I'm struggling to 'get it'. my question is; why have multiple containers? Can someone help me understand why I would use docker compose and multiple containers? I feel like i'm looking for a diagram or description that will 'click' for my understanding , but I can't find it. Can anyone suggest an explainer? Thanks!!!

luke___'s avatar
luke___'s avatar luke20204yrs agoServers
18
1
Last reply by luke2020 4yrs ago
jonjiepb's avatar

How to connect mariadb with docker in sequel ace

Currently working with wordpress with mariadb in docker. I can connect the wordpress to the database but when I try to connect it using sequel ace, it returns an error saying that my credential is not correct. docker-compose.yml services: maria: image: mariadb:latest environment: MYSQL_DATABASE: wp_maria MYSQL_USER: maria MYSQL_PASSWORD: secret

jonjiepb's avatar
jonjiepb's avatar Sinnbeck4yrs agoServers
9
1
Last reply by Sinnbeck 4yrs ago
andyg1's avatar

Idiots guide to getting Docker running on Ubuntu

I've literally lost three evenings this week to this... I am trying to get Laravel working on my desktop environment - Ubuntu 18.04 At first I was installing PHP and mysql on my system but couldn't get the right modules / versions / configurations working. I figured I would try docker so I don't have to mess about with all this packages on my local machine. I can't get that wor

andyg1's avatar
andyg1's avatar Sinnbeck4yrs agoServers
6
1
Last reply by Sinnbeck 4yrs ago
fernandomullerjr's avatar

Can't get Laravel logs through stdout of Docker Container

Hello everyone, i am trying to get logs from Laravel through the stdout of my PHP Container, but when i simulate and error inside the container: fernando@c64d676157c2:/var/www$ php artisan command5 Command "command5" is not defined. fernando@c64d676157c2:/var/www$ The error is writed in laravel.log: fernando@c64d676157c2:/var/www$ tail storage/logs/laravel.log "

fernandomullerjr's avatar
fernandomullerjr's avatar fernandomu...4yrs agoLaravel
0
1
ldslaracasts's avatar

First Time Setting Up Docker with Sail

I'm attempting to set up Docker for the first time. I have ensured that my docker client is up to date, as well as running sudo apt-get update on my ubuntu WSL. I keep running into the same error when I attempt to run sail up. The entire file is quite lengthy, but the first error is in regards to laravel.test and the error is no such service: laravel.test. The second set of err

ldslaracasts's avatar
ldslaracasts's avatar Krystian L...4yrs agoCode Review
14
1
Last reply by Krystian Laubach 4yrs ago
nessor's avatar

[Docker & EC2] artisan extrem slow

Hey guys, I'm playing around with Docker and Kubernetes on AWS at the moment and have a strange problem. My Laravel container, or framework, is extremely slow. For example, here is an Artisan command executed directly in the running container: root@laravel-deployment-645bfb8bb9-b9ljn:/var/www# time php artisan inspire An unexamined life is not worth living. - Socrates rea

nessor's avatar
nessor's avatar nessor4yrs agoCode Review
1
1
Last reply by nessor 4yrs ago
ioiofadhil's avatar

Laravel Docker Ports Meaning?

Hi guys, Im new in Docker. I tried set up my laravel application using a Docker. What im not understand is the "ports:" part in docker-compose.yml. So i tried to setup my MongoDB like this : mongodb: image : mongo container_name: mongodb volumes: - ./docker/mongodb:/data/db ports: - 27017:27018 restart: unless-stopped But, if i set my la

ioiofadhil's avatar
ioiofadhil's avatar ioiofadhil4yrs agoLaravel
2
1
Last reply by ioiofadhil 4yrs ago
snarklepwne's avatar

make:auth on Bitnami Docker image?

I am brand new to Laravel. I'm starting by watching a youtube video. The video starts by showing how to install Laravel. I figured I'd skip all that and go straight to a Docker image. That seems fine at first. The next thing the video shows is running artisan make:auth, but this doesn't seem to exist in the Bitnami Docker image. Is the Docker image supposed to be just for

snarklepwne's avatar
snarklepwne's avatar jlrdw4yrs agoLaravel
5
1
Last reply by jlrdw 4yrs ago
TheVueDev's avatar

Laravel Sail through Docker Container, MYSQL access Denied

I run the new project as per the instructions on Laravel's site through docker. But every time I try to connect to the database I get this error "Access denied for user 'sail'@'localhost' (using password: YES)". I had mysql installed with brew before which I have uninstalled and now trying to access it through the docker container but no luck at all, been googling and

TheVueDev's avatar
TheVueDev's avatar niyo4yrs agoLaravel
1
1
Last reply by niyo 4yrs ago
OzzDev's avatar

Error connecting to database through Docker

I have a mysql service running on port 3308 using docker. However on table plus when I try to access this using “127.0.0.1” as the Host and Port “3308”, enter the user, password and database name if I test the connection it shows an error: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 Also If I run php artisan migrate I get: Illumi

OzzDev's avatar
OzzDev's avatar ScaryAFK4yrs agoGeneral
1
1
Last reply by ScaryAFK 4yrs ago
dev.khosromanesh's avatar

docker won't install on the computer

hello developers ... I'm currently want use docker for projects and there's a problem with my computer .The docker won't install on my computer and also at the moment its not possible to replace the PC. is there any way to use docker with online tools or Etc ? can somebody help me please ?

dev.khosromanesh's avatar
dev.khosromanesh's avatar dev.khosro...4yrs agoCode Review
2
1
Last reply by dev.khosromanesh 4yrs ago
Propolis's avatar

Docker: Create separate volume for storage

I made a Docker image for my Laravel project. If I create a container for this it works fine. However if my image is updated I need to replace the container. After that the upload data and files in my storage/app/public folder are lost. That is an undesirable effect. I do want to refresh the entire laravel project when I replace my container with a new version. But I want the u

Propolis's avatar
Propolis's avatar Propolis4yrs agoLaravel
6
1
Last reply by Propolis 4yrs ago
stratboy's avatar

Can't run migrations with Docker: php version mismatch

Hi, running on Docker here. The app us running well (default installation demo) but my first attempt to run php artisan migrate ended in the following error message: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.3.27. in [...]/vendor/composer/platform_check.php on line 24 Why?

stratboy's avatar
stratboy's avatar Sinnbeck4yrs agoLaravel
24
1
Last reply by Sinnbeck 4yrs ago
stratboy's avatar

How to connect to db via GUI when using Docker?

Hi! I'm using Docker and I'm new to it as well as Laravel (sort of..). I have a sample Laravel app running, all fine. Now I want to take a look to the db with a gui (sequel pro). The configurations are default ones: .env: DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=testsite4 DB_USERNAME=sail DB_PASSWORD=password docker_compose: environment: MYSQL_ROO

stratboy's avatar
stratboy's avatar stratboy4yrs agoLaravel
2
1
Last reply by stratboy 4yrs ago
RaymondE's avatar

Docker (Sail) and virtual host name e.g. http://foo.dev

Hi there, i am currently using docker (sail) to develop my website. I can access it via localhost:3000 I would like to change localhost to "real" host name e.g. http://foo.dev or .test How can i accomplish this the easiest way? Thanks for the support! Best Ray

RaymondE's avatar
RaymondE's avatar RaymondE4yrs agoGeneral
2
1
Last reply by RaymondE 4yrs ago
s.lavoie.b@gmail.com's avatar

How can two apps on docker talk with each other via HTTP on the same local network?

I am currently porting my apps from Homestead to Docker (via Laravel Sail) since I upgraded to a m1 mac. Everything works as it used to with Homestead except one thing. Basically I have two apps and I want them to talk with Laravel's HTTP client (ultimately Guzzle behind the scenes). On homestead, they both had a .test url and communicated with it. So app1.test called app2.test

s.lavoie.b@gmail.com's avatar
s.lavoie.b@gmail.com's avatar bryceandy2yrs agoLaravel
6
1
Last reply by bryceandy 2yrs ago
reza305's avatar

deploying laravel on ubuntu with docker

I'm new to docker and trying to deploy a laravel project on ubuntu 20. all the containers are up and i can see the welcome page in my browser, but I can't migrate the tables and it gives me the following error: Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user 'laravel_admin'@'app.my-project_app-network' (using password: NO) (SQL: select * from i

reza305's avatar
reza305's avatar reza3054yrs agoLaravel
7
1
Last reply by reza305 4yrs ago
degorych's avatar

How can I use Laravel in production with docker

Hello all. I use laravel docker (sail) for local development. If I want use it in real hosting, what I must do? Sail not using real web server and for ssl certificates I must use nginx or apache. I can create new docker-compose yml file for production without sail container but it must contain web server? I know people use caddy server for local development, but I think for pro

degorych's avatar
degorych's avatar bugsysha4yrs agoLaravel
1
1
Last reply by bugsysha 4yrs ago
Jeffxy's avatar

Unable to call api after restart docker

I am getting this error after sail down and restart docker. When I sail up again then I am not able to call any api, it just show me server error. But I able to run php artisan migrate. I have tried to debug and way to solve the issue but no luck. I will need to recreate the project then it only worked. May I know what's the root caused for this issue happen? Here's the Laravel

Jeffxy's avatar
Jeffxy's avatar bobbybouwm...4yrs agoLaravel
11
1
Last reply by bobbybouwmann 4yrs ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.