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
1
vote
1 answer

Handle docker’s variable ip in iptables

On my production environment I have some apps in Docker that need to connect to backing services eg the database on the same host. I found I needed to make an exception in iptables to accept these connections. However, the ip range of the docker…
TacoV
  • 83
  • 8
1
vote
1 answer

CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python

I'm trying to use docker-compose (which was installed via pip3), yet running into following warning everytime I do anything: # docker-compose version /usr/local/lib/python3.5/dist-packages/paramiko/transport.py:33: CryptographyDeprecationWarning:…
alexus
  • 12,342
  • 27
  • 115
  • 173
1
vote
1 answer

Single Nginx Docker vs Multiple Nginx Docker for websites

Forgive me if I am asking a stupid question, but I am building a server where I will host multiple Flask websites Docker Container using Nginx Docker. My question now is: is it better to have one main nginx docker container and then host all my…
Mervin Hemaraju
  • 105
  • 2
  • 13
1
vote
0 answers

How to configure Wireguard to allow Internet access?

I have an Ubuntu 20.04.1 LTS to host a linuxserver/wireguard Docker container. Clients can successfully connect to the Wireguard server, but I'm unable browse Internet websites on the clients while they're connected. How do I configure my Wireguard…
PaulH
  • 181
  • 3
  • 7
1
vote
1 answer

docker-compose and willfarrell/autoheal not restarting container with exit 2

docker-compose is not restarting my container even if it is listed with an exit code 2 is docker-compose ps. Name Command State Ports …
1
vote
2 answers

The Debezium Kafka based KAFKA_ADVERTISED_LISTENERS property setting is ignored

I have a Docker Compose based Swarm with a Zookeeper service that starts fine, but the Kafka service cannot start. It keeps using the default KAFKA_ADVERTISED_LISTENERS property: debezium_kafka.1.5hhrqfp5kqts@stephane-pc | Using…
Stephane
  • 227
  • 1
  • 12
1
vote
0 answers

Traefik get real IP client on local machine

I have a local problem that is not present when I do the deployment on my online dedicated server to get the real IP of the client. Locally, the whoami service returns the container's IP to me not my own private IP (192.168.2.9). With the same…
H Michael
  • 11
  • 2
1
vote
1 answer

Docker - No Outbound Traffic / Bridge Only Works When in Promiscuous Mode

I have been struggling with a very strange networking issue for the past week. In summary, my containers can't reach the internet unless I run tcpdump -i br-XXXXX (which puts the bridge into promiscuous mode) I have two containers that I'm bringing…
1
vote
0 answers

Environment variables inside of an environment file

Background I was deploying my docker environment to a production server when I've noticed that the application would not work. For some reason the environment variables were not set correctly inside the containers. It's also important that I define…
Kolyunya
  • 187
  • 2
  • 9
1
vote
0 answers

Docker : Gitlab fails to run behind Traefik : 502 Bad gateway

I'm posting here, because I'm searching to self-host my personnal website (a wordpress) and sources codes of my others projects (a gitlab instance), with the help of Traefik reverse-proxy's. Currently, when I try to visit the differents softwares as…
outstore
  • 55
  • 1
  • 12
1
vote
0 answers

nginx HTTPS passthrough for multiple domains [With wildcard aletrnate_names in certificate]

I have the following question: I have a couple of HTTPS services that are running inside docker containers. I have an nginx container also set up so that it redirects URL to the relevant containers. Each of the https services in the respective…
blueren
  • 121
  • 4
1
vote
0 answers

mDNS service is discovered but not reachable

I've some problems connecting to services on my raspberry pi. I desire the following: 1x Raspberry Pi running multiple services (like openhab, mosquitto, nagios, etc.). Each of these services is running in a separate docker container. To bring…
1
vote
0 answers

AWS Fargate: The OPENCART_DATABASE_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes

I am trying to run Open cart on AWS Fargate, i am using native bitnami release, following is my docker-compose.yml version: '2' services: mariadb: image: 'docker.io/bitnami/mariadb:10.3-debian-10' environment: -…
noobie-php
  • 133
  • 5
1
vote
2 answers

How to know how the docker container is started

A few containers which are started from a docker-compose file are running on the VM. but I don't know where is the docker-compose file, how to figure it out? Furthermore, If there is a container start using "docker run", how to check the parameters…
Jim
  • 111
  • 1
1
vote
1 answer

Nginx and Docker Work Fine on Port 3001:80 but Not Anything Else (e.g. 3002:80)

gitlab-ci.yml cache: key: "$CI_COMMIT_REF_NAME node:14.4.0-alpine" paths: - node_modules/ stages: - release - deploy variables: TAGGED_IMAGE: "$CI_REGISTRY_IMAGE:latest" .release: stage: release image: docker:19.03.12 …
Alex
  • 121
  • 4