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
0 answers

Docker + Nginx + Several sites with reverse proxy; directory issue

I just configured my server to multi-site revproxy using docker external network and configured my revproxy nginx container to work with fastcgi. Right now, for testing purposes, one of the sites is working, but it seems that the nginx for the…
Alex
  • 1
0
votes
0 answers

Job for docker.service failed because the control process exited with error code

root@staging:~# sudo systemctl unmask docker Removed /etc/systemd/system/docker.service. root@staging:~# sudo systemctl start docker Job for docker.service failed because the control process exited with error code. See "systemctl status…
0
votes
1 answer

"Multiple --up scripts defined" when running OpenVPN inside a Docker container

I'm using binhex/arch-rtorrentvpn and the contents of my docker-compose.yml are as follows: version: "2" services: rtorrent: image: binhex/arch-rtorrentvpn container_name: rtorrent cap_add: - NET_ADMIN environment: -…
Josh
  • 1
  • 2
0
votes
0 answers

how to export the filesystem from one container to another

I have a container A for running tests against a service running in container B. container A needs to be able to go through the filesystem of B so it can create / delete files in specific folders, but I can't use volume mounting for sharing these…
0
votes
1 answer

Can't connect to static VPN from docker compose

I'm trying to create a symetric VPN server with openvpn in a docker-compose. Here it is: --- version: "3" services: vpn: image: whitebox/vpn:0.2 networks: - standard tty: true ports: - "1194:1194/udp" volumes: …
0
votes
1 answer

PHP-FPM Docker container behaves differently regarding engine (docker-compose vs Swarm)

one PHP-FPM container (7.2), member of classical LAPP stack, correctly exposes port 9000 when launched with docker-compose but nothing when started by Docker Swarm. Should I mention that container is running (see output below) and I can launch a TTY…
nbonniot
  • 127
  • 6
0
votes
1 answer

Using Reverse Proxy Nginx in a docker container

So trying to setting Nginx as a reverse proxy using docker - I have three node js containers (one frontend and two backend services) the frontend service calls the two backend services. So I want nginx to redirect to the frontend (which is web…
0
votes
1 answer

Build ansible Dockerfile results error Could not find pip3

I tried to build an image of ansible by local Dockerfile: I got the following Docker file from: Quickstart: Configure Ansible in a Docker container FROM centos:7 RUN yum check-update; \ yum install -y gcc libffi-devel python3 epel-release; \ …
Hiddai
  • 67
  • 2
  • 10
0
votes
2 answers

Docker macvlan drops UDP (DNS) traffic, TCP works

I'm trying to use macvlan to create a container that is a first-class citizen on my lan. I'm using a static IP (although I understand that using some 'tricks' it's possible to use DHCP as well). I understand its possible to do it with the host…
user123963
0
votes
1 answer

nginx in docker redirects to local ip when accessing wp-admin

Below is my nginx.conf events { } http { error_log /etc/nginx/error_log.log debug; client_max_body_size 20m; proxy_cache_path /etc/nginx/cache keys_zone=one:500m max_size=1000m; server { listen 80; …
0
votes
1 answer

Nginx handle SSL and proxy pass to HTTP backend in docker but tries to keep serving local content

I try to set up a docker-compose environment in which a Nginx container receives HTTPS requests, handles the SSL and reverse proxies them to a dotnet-core app which only implements HTTP. This topic has been discussed here several times and I tried…
Benj
  • 107
  • 3
0
votes
1 answer

How to connect container in another docker network?

I have postgres running in default container network as it ran using docker run command. And, our webapp running on the same server but spinned as a docker-compose service. So, there is separate bridge network created for that automatically. How to…
uday
  • 257
  • 2
  • 21
0
votes
1 answer

Nginx proxy is not finding the backend services

I've an installation with 2 backend services that should be proxied by a third Nginx service. I've deployed the 3 services succesfully but for some reason I can't get nginx to see the other 2 services giving the error: GET / HTTP/1.1" 502…
0
votes
1 answer

docker-compose with nginx and nextcloud FPM stops accepting https connections

I have a fairly standard setup, with nginx as a web frontend (with https certiticates and such) and a nextcloud FPM backend; the whole installation has very low traffic, since I am the only one using it. At one point https stops working, every…
0
votes
0 answers

Bind Docker port running on localhost to public IP

I have a docker-compose.yml file which runs a couple of Apache web applications. I have a HAProxy acting as a reverse proxy for the web apps also running inside the container environment. I've exposed the HAProxy port with the directive ports: -…