All Questions
1,048
questions
0
votes
1
answer
36
views
Custom 500 page not shown in apache docker
I am trying to use php/apache in docker and I want to have a custom 500 page. I am trying it out on localhost and it never shows the page.
Dockerfile
FROM php:7.4-apache
COPY . /var/www/html/
COPY php....
0
votes
0
answers
24
views
Using apache proxy to Next.js app running in Docker container
I'm sure there's a simple answer to this... I've got a Next.js v14 app running in a container which is exposed on port 6502. I can reach it using http://localhost:6502 and everything works. Now I want ...
0
votes
1
answer
40
views
Running Angular 17 with symfony 6 and docker
I have an angular 17 / symfony 6 project on docker.
The matter is I can't run the app on localhost:4200. I have an "err_connection_reset" on my browser.
However, the angular container is ...
0
votes
0
answers
46
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: {…}, ...
0
votes
1
answer
38
views
docker-compose creates container but does not start apache container
I am using docker-compose to start two containers, one an apache container and the other a maria container. The maria container starts but the apache container shows as created on the docker desktop ...
0
votes
0
answers
53
views
How to setup docker rootless compose with apache php image and bind mount? (file owner)
i try to get this to work:
os is debian based
docker image: php:7.4-apache
php application code is copied to image on build
compose
bind mount a sub-folder in the application directories for ...
4
votes
2
answers
243
views
apache and php in seperate containers on ubuntu
I have pulled apache and php-fpm:alpine images into docker-compose.yml as services and trying to connect between these two containers but failed to do so. It says requested URL was not found on the ...
0
votes
0
answers
16
views
Different response in terminal when using docker run vs docker-compose
My current level: Docker Beginner+/ Intermediate.
I am testing the following repo (though I think the question applies to any docker/ docker-compose file)
https://github.com/rsubr/php-apache-ubuntu
I ...
0
votes
0
answers
48
views
CakePHP in Subdirectoy on Nginx Reverse Proxy to Docker Running Apache
I have nginx running as a reverse proxy and I am trying to load my CakePHP site on the docker container in a subdirectory. The docker container is running Apache. I do not want the subdirectory in the ...
0
votes
1
answer
151
views
Laravel Sail: Making lighter Docker images on Laravel Sail project
I've been trying to make some modifications to the default 'docker-compose.yml' and Dockerfiles autogenerated by Laravel Sail after it's installed into my Laravel project. I've been attempting this ...
0
votes
1
answer
49
views
Frontend Docker container exited after creation and is not working
I've been trying to create a container with my frontend on Vue, but when it is created, it immediately exits and is not running.
Here i show my Dockerfile:
# compliation
FROM node:latest as build-...
0
votes
0
answers
39
views
Keycloak + Apache containers timeout
I'm trying to start a container that contains apache and keycloak and configure the openoidc in it.
This is my docker-compose:
version: "3.8"
services:
frontend:
build: ./frontend
...
0
votes
1
answer
26
views
Why can't python httpd start a thread inside a python docker container?
I'm trying to run a webserver to examine a system's behaviour under load.
While looking at alternatives, I thought to try Python's webserver:
If I run the following, it works as expected:
$ sh -c '...
0
votes
0
answers
49
views
Can't configure sonarqube to be available on https using Apache
I have my sonarqube server running on a remote linux machine on port 9000. I can access the same using http://machine_ip:9000. I have also bought a domain and have tried to configure it to be ...
0
votes
0
answers
65
views
Docker - Laravel API return 404 Not Found
I dockerized a laravel project with apache and mysql using the following configuration :
Dockerfile :
FROM php:8.2-apache
WORKDIR /var/www/html
# Mod Rewrite
RUN a2enmod rewrite
# Linux Library
RUN ...