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

How to pass server configuration to postgres docker via a compose file?

I am using Postgres docker 14.4. I want to pass a server configuration (let's say idle_session_timeout) to the postgres docker. The doc gives an example using docker run docker run -d --name test-db -e POSTGRES_PASSWORD=postgres postgres -c…
tuk
  • 333
  • 5
  • 18
0
votes
1 answer

Docker : Failed to download metadata for repo 'appstream'

I am using Docker. I am newbie in this tech, so please let me know if require any other info Want to install a remote host, docker-compose.yml version: '3.8' services: jenkins: container_name: jenkins image: jenkins/jenkins ports: …
sparsh610
  • 101
  • 1
0
votes
1 answer

Move docker compose wordpress with local volume to new host with correct permission

I'm struggling to migrate / move my Docker Compoe project with Wordpress and Mysql to a new host. My docker-compoye.yaml is as follows: version: '3.1' services: wordpress: image: wordpress restart: always ports: - 8099:80 …
0
votes
0 answers

Nginx reverse proxy requires internal port to work when redirecting traffic to Docker host machine

I've been using a Linux host machine with several docker containers running with one of those as Nginx Proxy Manager (from now on: NPM), which is just Nginx with a friendly UI. NPM exposes ports 80 and 443 and redirects traffic to each container as…
0
votes
1 answer

Docker Compose + Ubuntu:22.04-Unable To Create cgroup...Read-only file system

I'm playing around with Docker Desktop(4.16.3) and Slurm. When I run slurmd, I get an error with the following complaint: common_cgroup_instantiate: unable to create cgroup '/sys/fs/cgroup/freezer/slurm' : Read-only file system unable to build…
Black Dynamite
  • 523
  • 2
  • 5
  • 16
0
votes
1 answer

How to check current host os in Docker compose?

For linux and airflow containers, we have to provide host user id to the container: "On Linux, the quick-start needs to know your host user id and needs to have group id set to 0. Otherwise the files created in dags, logs and plugins will be…
0
votes
0 answers

Django deploy with Gunicorn, Nginx and Docker-Compose returns Server Error 500

I'm deploying a Django application on ubuntu server, where I have installed Nginx. The app is deployed using docker-compose and gunicorn. Here's my nginx configuration: upstream backend { server 0.0.0.0:8000; } server { index index.html…
Paul Rock
  • 101
0
votes
1 answer

Why can't traefik find the docker network it must use?

I am running a traefik in a container, together with other containers, most notably docker-socket-proxy so traefik can run as non-root. My compose works, but there is a warning message that tells me this is more luck than skill. The warning message…
gctwnl
  • 171
  • 11
0
votes
1 answer

How not to (almost) duplicate `Dockerfile` for "production" and "development" environments"?

I have a server app that is dockerised, but I cannot seem to pass a variable from any docker-compse.yaml's services to the Dockerfile as desired. Thus I couldn't find any another solution than what follows... I have two nearly identical Dockerfiles,…
djfm
  • 195
  • 3
0
votes
1 answer

After establishing WebSocket tunnel, does NGINX continue to 'be in the loop'?

I have a WebSocket server-side application fronted by an Nginx reverse proxy and all is working great. The WS app runs in a container as does Nginx, and both then work together as a service. Now I'm considering the scale-up rules for the WS app,…
mmuurr
  • 135
  • 1
  • 5
0
votes
0 answers

Nginx proxy on docker exited with code 0. How can I repair it?

I created a nginx and letenscrypt container with the guide: Using Docker to Set up Nginx Reverse Proxy With Auto SSL Generation. My docker-compose.yml looks like: version: "3.7" services: reverse-proxy: image:…
0
votes
0 answers

Networking issues when running multiple Docker containers

I am currently getting familiar with Docker and one issue I have is launching several Docker containers on the same host machine. If I run 32 or less containers, everything works fine. However, if I start more containers, not only my host machine…
0
votes
1 answer

VSCode-Docker Not Invoking "CMD"

TL;DR Image built by VSCode only executes the CMD command when I press the Run button in the Docker Desktop UI. Hello Folks, I'm playing around with a Drools image along with Docker Desktop and VSCode. My devcontainer.json file looks like the…
Black Dynamite
  • 523
  • 2
  • 5
  • 16
0
votes
0 answers

Unable to connect to the database

I am using docker-compose to set up umami.But it seems that umami is not up. I have checked log file umami. Here it is what looks like. yarn run v1.22.19 $ npm-run-all check-db update-tracker start-server $ node scripts/check-db.js ✓ DATABASE_URL is…
0
votes
1 answer

no live upstreams while connecting to upstream

I am trying to set up reverse proxy using nginx. The thing is i want to redirect to umami login page when go to localhost. But i am getting 502 bad gateway.I am not sure i have correctly configured the nginx. Here is my docker-compose.yml looks…
sudojarvis
  • 1
  • 1
  • 2