Questions tagged [docker-compose]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

docker containaer promiscuous mode partially working

I have strange virtual (docker bridges) networking condition I have two dockers connected to the same bridge via docker-compose. One docker is "probe" and one is "injector". ...
user avatar
  • 163
0 votes
2 answers
26 views

Secondary IP not pingable from internet - Ubuntu 20.04 using netplan on Hetzner server

Let me start be saying I'm not an network expert. That being said, I'd need some help here as I'm breaking my head on this issue for two days now. I have several questions but will focus only on one ...
user avatar
0 votes
0 answers
12 views

MySQL Cluster with Docker-Compose

An attempt is made to build a MySQL cluster infrastructure using Docker Compose. Is there somewhere any guidance on how this can be implemented with multiple data nodes and also multiple MySQL servers ...
user avatar
0 votes
0 answers
29 views

Docker-compose: how to use Nginx Reverse Proxy with routing

I am using docker-compose with nginx reverse proxy to run it on server with different paths: server_ip/backend server_ip /frontend should work on port 80. I'm testing it with a docker-compose using ...
user avatar
0 votes
0 answers
27 views

How to access hosts local network from a docker container?

I have two machines running in one local physical network in the office. One of them is exposed to world as a http web server (nginx on docker), the other one is not exposed to the world, it exposes a ...
user avatar
  • 101
0 votes
1 answer
10 views

`docker-compose.override.yml` `restart: no`: containers still start up after reboot

In my base configuration I have a few services with restart: always and in my override configuration I have those services with restart: "no", but when I reboot the host the containers are ...
user avatar
0 votes
0 answers
19 views

booksonic-air docker container Connection reset by peer

I've just installed booksonic-air through docker compose and when running curl http://127.0.0.1:4040 i get Connection reset by peer error. Docker container looks like listening to 0.0.0.0 address so I ...
user avatar
  • 468
0 votes
0 answers
13 views

Docker container eating space over time in my EC2

I've installed only Hasura and a Postgres database (yes yes, I'll change it) in 1 docker container each. The containers themselves don't use much space, but my overall storage space is rapidly being ...
user avatar
0 votes
1 answer
82 views

How to fix a Nextcloud docker container after skipping a major version?

I am running my private Nextcloud instance using docker (docker-compose). I tried to upgrade to a newer Nextcloud version but did not realize I was not supposed to skip a major version (from 21 to 23)....
user avatar
  • 75
-1 votes
0 answers
33 views

Connection time out psql from docker container

I am having a PSQL Database running in the docker container. When I am trying to connect to it from server or my pc, it works fine, but when I am trying to connect to this db from another container on ...
user avatar
0 votes
1 answer
17 views

Nginx reverse proxy is loading different sites when refreshing

I want to host multiple websites in one server with nginx reverse proxy by following this tutorial https://www.datanovia.com/en/lessons/how-host-multiple-https-websites-on-one-server/ The Nginx proxy ...
user avatar
  • 11
0 votes
0 answers
123 views

Nginx connection refused

I'm using docker containers to host a web app. I have three main containers: MySQL, flask and Nginx. The first two work as expected and the latter seems to be working fine as no error is displayed in ...
user avatar
0 votes
1 answer
60 views

Sail up for a cloned laravel project does not work

I have Windows 10, WSL2, and Docker. I've cloned a repository from GitHub, and when I try to sail up, I get this message: /usr/bin/env: ‘sh\r’: No such file or directory. The following is from the ...
user avatar
  • 1
0 votes
1 answer
18 views

Docker container does not register host name in docker-internal DNS

I use Docker to implement a Nextcloud service. For this, I use the official nextcloud-apache image, an Nginx reverse proxy, certbot, and MariaDB. Nothing special, really. My docker instance runs in ...
user avatar
  • 1
0 votes
1 answer
21 views

Syncing docker-compose remote context state across multiple developers

Got a question about docker contexts, Fellas. Assuming we make a docker-compose context for a remote machine (i.e., `docker context create aaa --docker "host=ssh://root@1.1.1.1") And build ...
user avatar
  • 111
0 votes
0 answers
28 views

Using environment file in haproxy container

Im trying, unsuccessfully, to run the official haproxy container (https://hub.docker.com/_/haproxy) with an environment file per (something like this https://www.loadbalancer.org/blog/how-to-install-...
user avatar
  • 146
0 votes
0 answers
18 views

Docker container dosnt see new group that I added

I have my user theuser who belongs to the groups docker and systemd-coredump. When I login via ssh I can see via the groups command that I do indeed have the systemd-coredump group. The strange thing ...
user avatar
  • 101
0 votes
0 answers
136 views

Redis inside Docker Compose Permission Denied for RDB file Crontab

Hi I have following docker-compose.yaml file. version: "3.9" volumes: local_postgres_data2: {} local_postgres_data_backups2: {} services: postgres: image: postgres ...
user avatar
0 votes
0 answers
176 views

Real Client-Ip with Cloudflare, Docker, Traefik and nginx set up as a mail proxy (Client-Ip in PHP script, not in upstream mail server)

I set nginx as a mail proxy, but i have trouble detecting the real Client-Ip in the php authentication script called by nginx via auth_http. I am not interested in getting real-IP on the upstream mail ...
user avatar
  • 41
0 votes
0 answers
105 views

nginx domain name is not showing docker

I am new experimenting with docker and nginx and it seems that i cannot make Nginx. context: there is 3 docker container run on docker compose (Nginx, frontend, and a Api backend) the website works ...
user avatar
0 votes
1 answer
21 views

Is there a de-facto 'standard' for the gateway address on a LAN

Is there a de-facto 'standard' for the gateway address on class C subnets? Asking because I've been fighting a docker-compose issue with macvlans where it assumes the gateway is always at 192.x.x.1, ...
user avatar
  • 280
0 votes
0 answers
80 views

How to setup a VPN server as the only way to access Docker containers on a Linux VPS?

I'm running a container with docker-compose on a Linux VPS (Ubuntu 20.04). I want the container to be accessible only via a VPN (ie: the container ports are not exposed on the host to the Internet and ...
user avatar
  • 101
0 votes
0 answers
14 views

How to add condition in elbsg.config in ebextensions for elasticbeanstak

Currently, we use docker-compose and .ebextensions to update elastic load balancer security group. However now I have requirement to apply different security groups for different environment. How do I ...
user avatar
  • 1
0 votes
0 answers
24 views

VM Instance write permisson (Container Optimized OS)

Actually I set up a VM instance and installed a container base OS but now when I run the container with docker-compose up (just an alias) I receive an error from traefik, do you know what the problem ...
user avatar
  • 1
0 votes
1 answer
34 views

Indent issue at docker compose

enter image description here ubuntuserver@ubuntu:~/Nginx-Reverse-Proxy/proxy$ ubuntuserver@ubuntu:~/Nginx-Reverse-Proxy/proxy$ cat docker-compose.yml version: "2" services: proxy: build:...
user avatar
0 votes
0 answers
502 views

docker-compose `restart: always` randomly not working

I administer a few Debian servers with Docker CE installed and docker-compose orchestrating several services (roughly 20 containers per machine).. Every single service is configured with restart: ...
user avatar
0 votes
0 answers
78 views

Docker remove not existing container from `host` network

I cannot start one of my containers because there is an old version of the container stuck in the network. When i try to start the container (with docker-compose) docker-compose up -d service_name i ...
user avatar
0 votes
0 answers
475 views

next-auth ECONNREFUSED 127.0.0.1:80

I am using Next-auth with keycloak and docker-compose and I get this error: [next-auth][error][GET_AUTHORIZATION_URL_ERROR] arcade-iori | https://next-auth.js.org/errors#...
user avatar
0 votes
1 answer
45 views

Can NOT bind host port 14433 to container port 433 using localhost, but https works using container IP (for example 172.21.0.2)

When I do lynx localhost:14080 from host, it works. The website is loaded from the container. When I do lynx localhost:14433 from host, it does NOT work. When I do lynx https://localhost:14433 from ...
user avatar
  • 1
2 votes
0 answers
229 views

WSL2 Dockerized Nginx not available in browser, but ping respond

I have a Windows 10 Home on my computer with WSL2. In WSL I run Docker with this docker-compose.yml file: version: "3" services: httpd: image: 'nginx:stable-alpine' ports: - '...
user avatar
  • 121
1 vote
2 answers
519 views

Docker network timeouts when using bridge

I'm running on a dedicated server ​with Ubuntu version 20.04.3 LTS (kernel 5.4.0-96-generic) and Docker 20.10.7, build 20.10.7-0ubuntu5~20.04.2. The system is a fresh install. I have a Dockerfile for ...
user avatar
0 votes
0 answers
187 views

docker-compose with multiple networks

I want to install NextCloud (https://hub.docker.com/_/nextcloud) via docker-compose. After analyzing the docker-compose structure, I see that this image is composed of two services (app and db). ...
user avatar
  • 151
2 votes
1 answer
890 views

Docker Compose Port Not Exposed?

I have a simple Python based web server running in a container set up with docker compose that exposes port 8080. When I docker-compose up the services it reports the ports are exposed but the port is ...
user avatar
0 votes
0 answers
37 views

How to add a network interface to Docker Overlay network?

How can I add a network interface (either a physical like eth0 or virtual like tap) to Docker Overlay network overlaynet? So that my interface becomes part of the layer 2 network with the other ...
user avatar
0 votes
1 answer
64 views

UFW port not accessible from public web despite rule explicitely allowing it

I have two dedicated servers: "web" (YYY.YYY.YYY.YYY) and "monitor" (XXX.XXX.XXX.XXX). Both are in the same network of a mass hoster (hetzner). Now on "web" I have 3 ...
user avatar
-2 votes
1 answer
73 views

Hosting Multiple Django Websites on a VPS

I'm moving away from WordPress and into bespoke Django websites. I've settled on Django as my Python framework, my only problems at the moment are concerning hosting. My current shared hosting ...
user avatar
0 votes
0 answers
126 views

Getting access denied from watchtower when pulling from docker hub with docker-compose

I'm getting the following error from my watchtower container: level=debug msg="Error pulling image aaa/xxx-react18-menu:latest, Error response from daemon: Head \"https://registry-1.docker....
user avatar
0 votes
1 answer
1k views

Using dnsmasq in a Docker container for the host and for Docker internal DNS resolution

I'm working on a web project that consists of multiple services. Every service has it's own docker-compose.yml file that declares it's "app" and it's possible dependencies (databases etc). ...
user avatar
  • 101
0 votes
1 answer
932 views

Can't connect to mysql docker when using phpmyadmin docker

I'm just getting started in docker and maybe I'm starting of a little big but I found an article that explained out to get a coldfusion install (run by commandbox) up with mysql. This docker compose ...
user avatar
  • 101
1 vote
2 answers
124 views

How to setup persistent networked docker volumes?

I'm looking for an option for persistent docker storage away from the server it's running on. I know I can mount a CIFS share using a named volume and the local storage driver but these volumes just ...
user avatar
-2 votes
2 answers
94 views

How is the underlying disk space (and associated technologies) for persistent storage usually configured in Docker [closed]

I want to attach persistent storage to my docker containers. I have tried NFS using TrueNAS and seem to have no luck there. Surely, I am approaching this in the wrong way. What are the common ...
user avatar
0 votes
0 answers
300 views

docker - WebDriverError: unknown error: Chrome failed to start: exited abnormally

I am a novice in a docker container. I am trying to create a docker file that has npm, node js, chromedriver and selenium-chromedriver and run my javascript file. In my local , I run the script in the ...
user avatar
  • 3
0 votes
1 answer
462 views

docker - nodejs - selenium-webdriver - Error: Server terminated early with status 127

I am a novice in a docker container. I am trying to create a docker file that has npm, node js, chromedriver and selenium-chromedriver and run my javascript file. In my local , I run the script in the ...
user avatar
  • 3
0 votes
1 answer
624 views

Recreate single docker-compose container with new config

If I make changes to my docker-compose.yml (say, change which host port a container port is exposed on), can I recreate that single container or do I need to restart the whole stack? docker-compose ...
user avatar
  • 285
1 vote
0 answers
90 views

How to disable upstream buffering Nginx + Docker + Gunicorn?

I'm trying to use Nginx as proxy server between client and Gunicorn. Nginx, Gunicorn (Django) are Docker's containers. Problem is I can't disable buffering of upstream when I send large file from ...
user avatar
  • 11
0 votes
0 answers
259 views

Questions about running postgres as Docker Container. 1. TimeZone, 2. global.stat

I'm been running postgres as a Docker Container for quite awhile. Initially, the TZ and PGTZ were not set, so I think it was defaulting to UTC. On my dev system I tried the following in docker-...
user avatar
  • 139
0 votes
1 answer
962 views

Add private GitHub repository "the right way" in dockerfile (w composer.json)

I'm trying to add my private GitHub repository, through the composer.json-file, while building a docker image. But I can't make it work no matter what I try. I want the most simple approach possible, ...
user avatar
  • 101
0 votes
0 answers
108 views

Docker multiple port to single container port configuration

I want to configure localstack as a shared container between different micro services. But the problem in my company's environment is, these different micro services configure different ports for ...
user avatar
1 vote
0 answers
198 views

Docker Nginx returns 404 for proxy_pass endpoint

On a separate PC (which has the locally accessible only IP 192.168.1.148), I have 3 containers: docker_compose_ui, docker_compose_web_console & nginx Two of the containers are listening on ports ...
user avatar
  • 113
0 votes
1 answer
211 views

How to move existing docker-compose created outside of portainer into portainer?

I created the nginxproxymanager docker compose file and volume mount points outside of portainer. /home/user/docker/nginxproxymanager/data, letsencrypt, docker-compose.yaml And portainer, while being ...
user avatar

1
2 3 4 5
10