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.

529 questions
0
votes
2 answers

docker-compose for JFrog artifactory OSS version?

I want to try out JFrog artifactory OSS using docker compose. I have…
u123
  • 247
  • 7
  • 21
0
votes
1 answer

Docker NGINX + PHP-FPM : Error 502 Bad Gateway

nginx site conf: server { listen 80; listen [::]:80; server_name example.com www.example.com; root /var/www/example.com; location / { index index.php index.html; } location ~* \.php$ { fastcgi_pass …
Alicia R
  • 31
  • 1
  • 6
0
votes
0 answers

Docker Compose ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

I have docker running on a centOS VM. All of a sudden my docker stopped working. When running docker-compose up, I get the following error every time: Creating network "nginx-php" with the default driver ERROR: could not find an available,…
Alicia R
  • 31
  • 1
  • 6
0
votes
0 answers

Dockerized NGINX/STRAPI/DB/CLIENT setup

For development purposal I would like to implement this: Dockerized strapi app But there is a problem with routing to /dashboard/. It should load static files from strapi container, which is not doing. I think that problem occures because of bad…
0
votes
0 answers

Nginx - Angular not passing Authorization header

This is the schematic of my microservices setup: To put in words: request comes from browser nginx reverses proxy the request to the angular container angular container makes request to the backend service to retrieve data Now my backend service…
user3353167
  • 101
  • 1
0
votes
1 answer

Kubernetes or Docker-Compose - how to immediately spawn new docker image from queue

I have a list of scheduled work items. When a work item is "ready", a "Scheduler" should dynamically start a "Worker" Docker image. "Worker" runs 15-240 minutes to completion. If not enough resources, "Scheduler" should wait and promptly try…
Michael Cole
  • 452
  • 4
  • 13
0
votes
0 answers

I am trying to set up a drupal site using docker in a Vagrant VM and can't seem to get Certbot to work

So I am trying to set up a drupal site using docker in a vagrant VM using bento/ubuntu-20.04. I went through this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-drupal-with-docker-compose . It seemed to work (I could…
SomeoneElse
  • 101
  • 1
0
votes
1 answer

redirect /my-service requests to custom port on nginx

I'm trying to set up a nginx image that redirects requests depending on a url to a service port. I'm using docker-compose and this is my docker-compose.yml: version: '3.3' services: nginx: image: nginx:latest build: . container_name:…
user3353167
  • 101
  • 1
0
votes
1 answer

Nextcloud fpm container with nginx on the host

I'm trying to deploy nextcloud-fpm docker-compose. But i got this error in my nginx error logs [error] 28942#28942: *7817 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: X.X.X.X, server:…
0
votes
0 answers

Docker containers on startup not visible (started as different user?)

As the title indicates I have a bunch of containers that are set to restart always. Everything works fine as it is but things seem to go wrong when I restart the server (Ubuntu 20.04). The containers are in fact restarting on reboot since I see them…
0
votes
1 answer

Nginx: upstream server directive with regex

I've got a docker-based architecture: A configurable number of containers being load balanced by one nginx container. All of these containers exist on the same local network, backend (created by docker-compose). The containers I want to load balance…
shinvu
  • 103
  • 2
0
votes
1 answer

Docker Compose with Volumes in GCP?

After reading the several options for running containers in Google Cloud, I still cannot find a proper solution among the myriad of options - Cloud Run, Kubernetes, Container-OS... We need to be able to: run a docker image (hosted in…
0
votes
1 answer

docker-compose fail to maintain up centos build

Im building a basic centos image with only some packages but Im forgotting something because finish well but not maintain the container. What Im doing bad? docker-compose: version: '3' services: config_server: build:…
deconya
  • 135
  • 2
  • 8
0
votes
1 answer

Docker WORKDIR confusion

I’m a beginner with Docker and I have a really basic Dockerfile for practicing purposes. FROM debian:latest WORKDIR /init COPY hello_world.sh . RUN hello_world.sh CMD [ "/bin/bash" ] After I try to build the image, I get this: Sending build context…
tenjohn
  • 193
  • 1
  • 1
  • 5
0
votes
1 answer

Move nextcloud to sub url but put a public folder at root (with nextcloud + nginx + nginx-docker-gen all in docker)

I have nextcloud running on https://cloud.museumsstrasse.at but since we will use nextcloud primarily for opening data to the public I would like that this nextcloud root url leads to a public nextcloud folder directly, e.g. to use this one:…
steffres
  • 51
  • 6