Skip to main content

Questions tagged [docker-compose]

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

0 votes
1 answer
21 views

Traefik unable to connect to other docker container

I've recently upgraded my TrueNAS 24.04.x to 25.04.x, which drops k3s support and replacing it with Docker. The first web app I'm converting (DokuWiki) is already giving me problems. I got used to ...
Thorarin's user avatar
  • 201
0 votes
1 answer
21 views

Restrict port access with FirewallD and docker

I'm trying to allow requests to a port only from specific IPs. I use the Strict Forward Ports feature to block any published ports by docker by setting StrictForwardPorts=yes in /etc/firewalld/...
maysi's user avatar
  • 103
3 votes
1 answer
66 views

Is it possible to start a Varnish instance with non-yet resolvable backend host IP?

Let's says that we have some backends hosted in Docker containers, with their DNS entries handled by Docker Compose. With the following docker-compose.yml, it would make the host foo resolve to ...
Eric MORAND's user avatar
0 votes
0 answers
8 views

How change docker ip to hostname in milvus etcd Address by-dev/meta/session?

I deploy milvus 2.5.14 In first time microservice milvus deploy on one host. But then we tried task to import some embedded service indexnode overhead RAM on host01. After we tried to transfer to ...
Nikolay Baranenko's user avatar
5 votes
1 answer
267 views

Update docker service volume

My domain has an SSL certificate automatically renewed by Let's Encrypt when it expires. The Docker container must use this SSL certificate in order to allow HTTPS communication. My current approach ...
galex's user avatar
  • 153
2 votes
1 answer
230 views

Setting default access/secret token in Minio through docker

I have spent all afternoon with ChatGPT and couldn't figure this out, hopefully someone can help me here. Using Minio in a Docker Stack for local development, everything works fine. Would love to, ...
André Alçada Padez's user avatar
1 vote
0 answers
48 views

Case of the phantom docker container that won't quit

I have 2 vm's, one running sonarr, one running radarr in docker compose. Everything worked great but I was low on memory so I bumped them up and restarted the VMs. When they came back up, the ...
scphantm's user avatar
  • 213
0 votes
0 answers
76 views

Redis Sentinel stays in tilt mode and does not promote replica in Docker Swarm (works in docker-compose)

I'm trying to set up a Redis master-replica cluster with Sentinel for HA, deployed using Docker Swarm mode. My setup works fine when I try it locally using docker-compose, but fails in Swarm: In ...
Efae's user avatar
  • 1
0 votes
0 answers
29 views

mise yarn install directory permissions in a podman volume

I'm running an Ubuntu container inside of podman (rootless) on Fedora (using compose) and I've set up a volume mapped to /home/<username>/.local to hold all the mise install data so that it will ...
Micah Gideon Modell's user avatar
0 votes
0 answers
212 views

Running a freeradius docker image using "docker run" works but "docker compose up -d" does not authenticate AAA users successfully

I have a freeradius Docker image that I created using the instructions here. When I run the Docker image using this command, AAA authentication works: docker run --rm --name freeradius-custom -t -p ...
user30854816's user avatar
0 votes
1 answer
241 views

Using nginx as reverse proxy as single access point to grafana and mlflow with subdomains

I want to host several docker services on a VPS and secure everything using a nginx reverse proxy as single entry point for the publicly available services. The VPS IP is associated with a domain name ...
Blupon's user avatar
  • 103
0 votes
1 answer
726 views

docker-compose setup with containers logging to fluent-bit over fluentd driver

I want to build a minimal showcase via docker-compse with a simple NodeJS application that constantly performs console.logs to simulate logging and a fluent-bit container that listens to these logs ...
Sebastian Dine's user avatar
0 votes
0 answers
109 views

How do I set up Wireguard in Docker with some services?

I have vpn setup for stack in portainer with two services - app and wireguard. How can add third service? version: "3.8" services: app: depends_on: - wireguard image: app:...
Shoroh's user avatar
  • 1
2 votes
1 answer
96 views

NGINX routes all requests to backend service instead of separating backend and API (PHP YII2)

I'm running two services (backend and api) on the same port inside Docker. However, whenever I send requests, NGINX routes all requests to the backend service, and I cannot access the api service ...
Amr Abu Aza's user avatar
0 votes
0 answers
160 views

Overriding host.name in OTEL collector when source application is running inside a container

I am running a Java application inside a docker container, with the OpenTelemetry Java Agent, which is connected to my OpenTelemetry Collector running on the same machine, also in a docker container. ...
jbx's user avatar
  • 93
0 votes
2 answers
760 views

docker-compose config not listing services

Recently, I have installed the latest version of Docker and Docker Compose from the official website on my Ubuntu machine. Upon using docker-compose config it gives me this output: name: docker ...
Ajay's user avatar
  • 103
0 votes
0 answers
232 views

Traefik with letsencrypt issues self-signed certificate while it should use ACME file

I have a docker-compose with severall apps, and traefik to do the routing and handle SSL/TSL certificates. I changed DNS supplier from Google to OVH, and then it didn't work. I thought I just had to ...
derOtterDieb's user avatar
0 votes
0 answers
165 views

(Nginx+Angular+Docker+VPS) Mixed Content: web page loaded over https requested insecure endpoint; content must be served over HTTPS

Attention throughout description I replaced: my current domain -> my.example.com actual server ip -> server-ip Im new to deploying web apps. I've managed to deploy my angular web app over https ...
John's user avatar
  • 101
0 votes
1 answer
142 views

bind9 | named: setgid(): Operation not permitted

i've got notification from Victoria Risk [email protected] New BIND releases are available: 9.18.35, 9.20.7, 9.21.6 after i pulled latest image, bind9 is now unable to start due to the following new ...
alexus's user avatar
  • 13.7k
2 votes
1 answer
226 views

Docker compose service mysteriously stuck in "starting" state for 10s even though application is ready immediately

I have a docker compose project that I'm trying to get to restart as quickly as possible. This is for an end-to-end testing suite I'm building, and so I really want to be able to docker compose stop -...
rcv's user avatar
  • 205
0 votes
0 answers
180 views

How to migrate docker volume from one host to another host

I want to migrate a volume from old host to a new host after the old host crashed, so I run the container in the new host using docker compose and the app creates a brand new volume in /var/lib/docker/...
user29295031's user avatar
0 votes
1 answer
792 views

How do I update docker compose to v2.17

I have a running Ubuntu V24.04 machine, and it is running Docker 26.1.3. It is also running Docker Compose V2.3.3. I have attempted to use apt to upgrade these two systems, but they were not upgraded. ...
Factor Three's user avatar
1 vote
1 answer
860 views

Failing to use node in alpine-powered docker container

I'm failing to run my webapp project in a fresh arch linux install. It uses docker and docker-compose.yaml to create DB, nginx server etc. This project is already running in multiple PCs and cloud ...
Bruno Lamps's user avatar
0 votes
1 answer
155 views

Nginx reverse proxy strips path prefix during trailing slash redirect in Docker Compose and Hugo deployment

I'm encountering a path rewriting problem when using Docker Compose with Nginx reverse proxy to deploy a Hugo blog. Requests to IP/Hugo-Blog/X/Y/Z are being redirected to IP/X/Y/Z instead of ...
Reina's user avatar
  • 3
0 votes
2 answers
262 views

wordpress "error establishing a database connection" after setup

I have docker compose app running wordpress, phpmyadmin, mysql on my development system. I successfully created the database and was able to initialize wordpress. When I click on the login link after ...
Lou K's user avatar
  • 131
0 votes
0 answers
184 views

How to setup traefik with tailscale on docker compose but only gate some services behind tailscale?

I currently have a homelab where everything is a docker container, described in a docker compose file. I use cloudlfare for DNS and SSL certs, and have it configured so that I just need to add labels ...
ROODAY's user avatar
  • 235
0 votes
0 answers
118 views

Starting a docker container before building an image of another container

EDIT: I solved the problem with healthcheck, I'm sharing this with anyone interested I've changed the code below Alternatively, I could rebuild the mysql image in order to add the missing package ...
Julien J's user avatar
1 vote
0 answers
301 views

MariaDB startup warning "io_uring_queue_init() failed with errno 0"

I have a mariadb 11 docker container running with the folowing podman(!)-compose configuration: photoprism-db: container_name: photoprism-db hostname: photoprism-db image: mariadb:11 ...
eventhorizon's user avatar
0 votes
0 answers
207 views

Nextcloud poor server performance when using NFS

I am trying to host my own nextcloud instance with the nextcloud docker image. I want to store data on a NAS hosting an NFS share. The nextcloud instance starts, but performance is poor. ...
Cryo's user avatar
  • 1
0 votes
0 answers
323 views

Kafka KRaft cluster docker configuration

I want to create Kafka cluster in KRaft mode with two controllers and two brokers. I wrote configuration: services: kafka-controller-1: image: 'bitnami/kafka:latest' environment: - ...
Pedro's user avatar
  • 1
0 votes
0 answers
104 views

Install Mathesar on ec2 instance

I am not able to access Mathesar remotely if instsalled on Amazon EC2 instance. https://mathesar.org/ I am able to install it correctly and get the username / password screen. But once I log in I get ...
shantanuo's user avatar
  • 3,679
0 votes
1 answer
410 views

How do I change the listening port inside of a nextcloud docker container?

Either via configuration file editing or by using a command, I am using docker installation and I need the nextcloud instance to be able to access host machine's localhost for database access so I use ...
infinitieunique's user avatar
0 votes
0 answers
47 views

A php application on docker works fine on Ubuntu 23.10 but crashes on 24.04

I have the following docker configuration for Mautic (A PHP based CRM): x-mautic-volumes: &mautic-volumes - ./mautic/config:/var/www/html/config:z - ./mautic/logs:/var/www/html/var/logs:z -...
Muc's user avatar
  • 101
2 votes
3 answers
1k views

Reverse Proxy Docker-compose: nginx + ssl + nodered + grafana + mosquitto + influxdb. Trying to make it working

I think that a docker system with nginx + ssl + nodered + grafana + mosquitto + influxdb is quite common, I hope this will help others. I have working nginx and ssl (certbot) perfectly, and if I go to ...
Juan Rangel's user avatar
0 votes
0 answers
103 views

Permissions for docker bind mount container running wordpress

I am running a Wordpress instance in a docker container behind and Nginx proxy. I use docker compose to deploy / update the application. This is hosted in AWS on linux box with the 2023 AWS Linux AMI....
JDBennett's user avatar
  • 129
0 votes
1 answer
234 views

How to deploy a Docker Compose project on a VPS and make it accessible online WITHOUT using Cloud Providers?

I'm trying to deploy a Docker Compose project which orchestrates a .NET 8 WEB API and a Blazor 8 UI. I want to avoid using Cloud Providers such as Azure, AWS, Google Cloud and all other "Azure ...
Jimmy's user avatar
  • 1
0 votes
0 answers
105 views

PostgreSQL repmgr slow initializing replica

I have two postgresql nodes, pg-0 and pg-1, master and replica. They are running on different machines with a 25bg/s bandwidth, 8gb ram and an AMD Epyc processor. Inside i have 6 dbs totaling 1.5gb, ...
Nicolò Rancan's user avatar
1 vote
0 answers
517 views

Change color of output from docker compose

I am looking for a way to alter the color of the replies that I get from "docker compose". Everything I have been able to find talks about colorizing the output of logs, I don't believe that ...
Chris Parker's user avatar
0 votes
0 answers
80 views

Using the same docker-compose.yml to deploy multiple services, removes the other ones

I have create a Gitlab pipeline which should deploy a bunch of services running on the same Dockerhost of the same kind but with slightly different settings (other credentials and ports). Therefore i ...
T-Regex's user avatar
  • 101
0 votes
1 answer
60 views

Docker service phpyMyAdmin can't connect to db using the default network

Service phpyMyAdmin can't connect to db (connection refused). But as soon as I add the the same networks (default and traefik) to the db service, it starts working. Why? For what I understand right ...
gremo's user avatar
  • 377
0 votes
1 answer
144 views

mariadb(or mysql) docker container use usb drive dir as volume

Following it's my test code version: '3.8' services: mariadb: image: mariadb:10.6 container_name: test-mysql restart: always command: --transaction-isolation=READ-COMMITTED --log-bin=...
chikadance's user avatar
0 votes
0 answers
531 views

docker-compose container not reachable by external network - port is 'filtered'

I've be shooed over from SO (https://stackoverflow.com/questions/79256455/docker-compose-container-not-reachable-by-external-network) I have an application running on Ubuntu 20.04 LTS where I can't ...
Nippey's user avatar
  • 101
0 votes
1 answer
243 views

ELK Stack with Docker and multiple server for UDP logging

I'm trying to setup an ELK stack (kibana, logstash and elastic search) in portainer which should receive loggings from pc's around the world. The thing I'm not sure is how the proper setup should look ...
Vario's user avatar
  • 101
-1 votes
1 answer
1k views

Docker - 429 Too Many Requests

I have a purchased VPS server running Ubuntu on which I have a Docker container running a Python Django application and I recently paid for the server one day late. After starting the server, all the ...
Jakub Jordanek's user avatar
0 votes
0 answers
58 views

Unable to connect to the Gitlab webpage from my laptop

Current situation: My laptop SSH > Docker vm > gitlab (docker container). I'm able to SSH to the docker vm, and have installed docker, and used the gitlab latest image to create the required ...
Melvin's user avatar
  • 11
1 vote
1 answer
61 views

Internal Docker network err: attempt to send data on a closed socket

Using openresty/openresty:latest in Dockerfile: FROM openresty/openresty:latest COPY default-prod.conf /etc/nginx/conf.d/default.conf RUN apt-get update && apt-get install -y luarocks RUN ...
x-magix's user avatar
  • 111
0 votes
0 answers
210 views

Dockered Apache / httpd:latest does not start up

I am trying to run the containerized Apache httpd on a server Here is my docker-compose.yml file version: '3' services: httpd: container_name: httpd image: httpd:latest network_mode: ...
El Dude's user avatar
  • 101
0 votes
1 answer
103 views

How to setup Drupal in Subfolders on Subdomain using Nginx Server and Docker containers

I want to run a drupal installation on a subdirecory of a subdomain. I am using docker containers as I am running various services and through that I can stick to the same syntax and setup structure. ...
farbenrausch's user avatar
-2 votes
1 answer
700 views

Openvpn and docker (subnet issue?)

I have strictly followed the workflow to set up my container (among other also running) but I can't connect from a client (wherever it is located on my smartphone or PC). The serveur pings well and ...
FTG's user avatar
  • 1
-1 votes
1 answer
681 views

How to edit the config.toml file of a container?

I'm new to docker. I downloaded a docker of ListMonk. At the beginning what I faced was the auto generated password from the installation.sh script. I tried to edit the config.toml file which didn't ...
AsifRayhan's user avatar

1
2 3 4 5
14