All Questions
Tagged with docker-compose laravel
465
questions
-1
votes
0
answers
14
views
Using Supervisord with Laravel and Docker for Queue system
I wanna use supervisord in my application for queue system but I didn't make Dockerfile and docker-compose.yml. How do I solve this problem
This file is Dockerfile
FROM php:8.2
RUN apt-get update -y &...
1
vote
1
answer
34
views
Docker Compose: Mounted Laravel's .env File Not Passing Environment Variables (Laravel, MySQL)
I'm trying to connect my Dockerized Laravel application to a MySQL database using Docker Compose. I've mounted the .env file that contains the DB_DATABASE variable, but I'm still encountering the ...
0
votes
1
answer
34
views
Nginx on VPS proxy to Docker container timeout
I’m new to using docker on servers, I have only used it for local development. I am working on a project that the server has nginx installed on it (the host machine), and also some containers running ...
0
votes
0
answers
30
views
How to configure Dockerized Laravel Setup for Vite?
My goal is to Dockerize Laravel + Vite + React.js with Inertia.js for Development. I can get the app to run, but it has no Hot Module Replacement (HMR) and loads the pages like SSR pages and not ...
0
votes
0
answers
24
views
"File not found" on the api page when loading Laravel NGINX app with docker-compose
I have an app that has a server (Laravel) and a client (nodeJS) running on a nginx server with docker-compose. I get the "File not found" error when I go to "localhost/api" page. ...
0
votes
0
answers
49
views
Docker & Laravel & Vue - and get AxiosError 'Network Error'
I ran my app and attempted to log in, but encountered a failure and received an error in the console:
AxiosError {message: 'Network Error', name: 'AxiosError', code: 'ERR_NETWORK', config: {…}, ...
1
vote
0
answers
103
views
How do I connect Nginx to a Docker container?
I have a Laravel project folder (as part of a Git repo) on a Linux server that I've been running Nginx on and just directly serving, but now I want to containerize that project with Docker. I also ...
1
vote
1
answer
47
views
How can two laravel docker services communicate?
I have two docker laravel services app1 app2 and I want them to connect with each other. So I have a docker-compose:
version: '3.8'
services:
app1:
build:
context: ./my-laravel-app
...
0
votes
3
answers
80
views
How to install Laravel 9 with Docker. This is the command: curl -s https://laravel.build/example | sh, but when I do it it installs version 11 for me
I want to install Laravel 9 with sail, but when I execute: curl -s "https://laravel.build/example-app" | sh , the command installs Laravel 11.
Is there a command that allows me to specify ...
0
votes
0
answers
255
views
How to dockerize vite from a laravel inertia project?
I have a Laravel inertial application with vuejs and this application is dockerized in a container with Apache that has everything necessary. In addition, I have a mysql image running also in another ...
0
votes
1
answer
71
views
Laravel Sail - SQLSTATE[HY000] [2002] Connection refused
I am trying to setup Laravel Sail environment on the server, and after doing the same setup that works locally on my machine along with the .env file
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
...
1
vote
0
answers
74
views
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode - Laravel / Docker
I'm trying to add laravel with docker.
this is docker-compose.yml
version: '3.8'
services:
nginx:
build:
context: .
dockerfile: nginx.dockerfile
ports:
- "80:80"
...
0
votes
0
answers
185
views
Php8.1-pgsql package is not found
I am trying to create a docker compose image file with php8.1, but I am getting this error.
I am trying to build image for Laravel server. I have tried running the Dockerfile as root as well.
How can ...
-1
votes
1
answer
315
views
Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request
I'm running a Laravel project using docker-compose and here's the docker-compose.yaml:
version: '3.7'
services:
apis:
ports:
- "9000:80"
build:
dockerfile: Dockerfile
...
-3
votes
1
answer
48
views
docker laravel mysql permission denied
I am dockerizing my laravel application but I am getting this error
SQLSTATE[HY000] [1045] Access denied for user 'root'@'172.18.0.3' (using password: YES) (SQL: select * from information_schema....