Questions tagged [docker-compose]

Compose is a tool for defining and running multi-container Docker applications.

Docker Compose is a tool for defining and running multi-container Docker applications.

581 questions
0
votes
1 answer

docker networking: browser and curl hang when connecting to server on localhost

I have several web apps running in docker on a ubuntu host. Each app is listening on a different port. When inside any container in the docker network, I can connect and receive data from the service, however, when running a request from the host, I…
thayne
  • 109
  • 3
0
votes
0 answers

nginx not serving static files after adding app to docker-compose

I have an app (blog) made with Python and Django. Using docker-compose I've managed to deploy it to a Digital Ocean droplet. The Docker stack includes a Postgres db nginx, nginx-proxy and the nginx-acme companion for SSL. The app works fine in…
0
votes
1 answer

Setup Apache Docker container to keep running after executing php shell CMD

I'm trying to run a Docker container based on: PHP 8.1 Apache 2.4 MariaDB (latest official docker image) Dockerfile: FROM php:8.1-apache WORKDIR /var/www/html/ RUN pecl install xdebug \ && apt update \ && apt install libzip-dev -y \ …
DevelJoe
  • 187
  • 3
  • 11
0
votes
1 answer

Getting a SQLSTATE[HY000] [2002] Connection refused in PHP Apache Docker container using mariadb, if connected via Dockerfile's CMD (PHP CLI works)

I'm trying to run a Docker container based on: PHP 8.1 Apache 2.4 MariaDB (latest official docker image) It all starts up without any issue; but I'm unable to connect with the Docker Container's DB via PDO. Dockerfile: FROM php:8.1-apache WORKDIR…
DevelJoe
  • 187
  • 3
  • 11
0
votes
0 answers

Matrix, Synapse server can't be reached

I set up a matrix server and everything seems to be happy, but I can't connect to the server. Calling it with: matrix.myDomain.de results in ERR_TIMED_OUT Calling it with: matrix.myDomain.de:8008 results in ERR_CONNECTION_REFUSED. I get an answer…
Voxel
  • 1
  • 1
0
votes
0 answers

How to use environment variable in apache config condition?

In my apache config file I'm trying to set a virtual host on port 443 IF my environment variable is not dev I have a docker container running via docker-compose which specifies the environment variables. To check the env variables are properly set,…
David
  • 11
  • 2
0
votes
1 answer

How to properly setup composer within PHP Apache Docker Container

Content of my Dockerfile: FROM php:8.1-apache WORKDIR /var/www/html/ RUN pecl install xdebug \ && docker-php-ext-enable xdebug \ && a2enmod rewrite \ && docker-php-ext-install zip COPY --from=composer:latest /usr/bin/composer…
DevelJoe
  • 187
  • 3
  • 11
0
votes
0 answers

Dockerized wordpress behind Nginx proxy pass on host redirects to / in admin panel after logging in

I am attempting to run Wordpress on Docker on my VPS. Since I run some additional web apps, I have setup Nginx proxy pass to route requests to each of them. As such I have setup the same for this Wordpress setup by proxy passing /blog to the…
Desmond27
  • 1
  • 2
0
votes
0 answers

Nginx in not recognizing nested routes(react-router) after the docker container build

I would like to deploy my project at this moment but i have gotten one issue after i ran the docker build I used the nginx server with docker build In locally react-router is working fine and i had not gotten any issue while running in localhost in…
jsBug
  • 101
0
votes
1 answer

NGINX + OpenSSL + Docker. Cannot load certificate key Permission denied. SSL:error:0200100D:system

I want to deploy a SSL certified angular app using nginx reverse proxy on docker (using docker compose). I've generated self-signed certification with openssl and made the configurations to the nginx config file. But I get error message in docker…
0
votes
0 answers

Redirect to login page after logined to minio console

I am going to run the service with Minio and I run it with docker-compose: version: '3.7' services: service_minio: image: quay.io/minio/minio:latest container_name: service_minio restart: always ports: …
soroush
  • 415
  • 1
  • 5
  • 6
0
votes
0 answers

Moving nginx/minio setup to docker/traefik/minio

I am currently running an nginx server in front of a number of minio servers. Each minio server runs on its own port on localhost for a single user and nginx is used for SSL termination and forwarding to that internal process. The nginx config looks…
gctwnl
  • 171
  • 11
0
votes
1 answer

nginx to reverse proxy 2 local lambdas in docker containers

I have 2 lambda functions wrapped in docker containers and am using docker compose to run them together. One runs on port 9000 the other on port 9001. I am trying to use nginx to allow them to both be reachable on the same port locally. I am able…
0
votes
0 answers

404 error with lighttpd and unable to get lighttpd access.log and error.log working under docker compose

I am a beginner with traefik, lighttpd, docker compose, and I am trying to get logging working for lighttpd under docker compose. My lighttpd.conf file contains: server.modules = ( "mod_debug", "mod_accesslog", …
gctwnl
  • 171
  • 11
0
votes
1 answer

Nextcloud with Docker Compose behind reverse proxy (nginx) with proxy_pass (leaking images)

I have Nextcloud running with the following docker-compose.yml file and I use Plesk with nginx as a reverse proxy. My problem is that the images are accessible without a login. I can open a image with the following url…
BenRoe
  • 101
  • 2