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

Recommend way of setting-up custom docker network?

I'm trying to setup transparent proxy network using container (docker) Client (C) Proxy (P1) Proxy (P2) 10.10.1.1/24 10.10.2.1/24 10.10.3.1/24 veth0 veth0 veth0 | | | …
0
votes
1 answer

issue with shibboleth SP in docker container behind proxy

I am trying to get a shibboleth set up working in a docker container behind a proxy. Currently I am able to get redirected to the shibboleth idp page where I can enter my login details and shibboleth will authenticate me. It is failing with a 404…
jonathan
  • 111
  • 2
  • 5
0
votes
1 answer

CUPS client not working with docker container name

CUPS client cannot print when providing the CUPS server as container name, while it works fine with the container IP: Sample docker-compose.yml: version: '3.7' services: client: container_name: cups_client image: cups_client server: …
rks101
  • 1
  • 2
0
votes
1 answer

NGINX logs not being mapped with Docker volumes

I define two log levels in my Nginx config file http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent"…
0
votes
1 answer

How to change docker-compose.yml in autorestarting docker-compose

my docker-compose.yml included MySQL 5.6 and phpMyAdmin: version: '3.3' services: db: image: mysql:5.7 command: --default-authentication-plugin=mysql_native_password restart: always environment: MYSQL_ROOT_PASSWORD: 'xxxx' …
Pepe
  • 123
  • 3
0
votes
2 answers

How can I make an IP white list for a port that is exposed with docker-compose

I'm trying to make a port (that is exposed by docker-compose) on public IP available only for some of my other IP addresses. I still need other ports to accept connections from any IPs. I've tried using ufw to achieve this but apparently docker…
Saeid Raei
  • 13
  • 4
0
votes
0 answers

Docker nginx+php-fpm ttfb is slow compared to bare metal

I have nginx and php-fpm running in separate docker containers. Php-fpm processs the same php script in as fast time as php-fpm running on bare-metal (not using docker). However, the TTFB when using nginx+php-fpm docker is always over 1.3 seconds,…
Zelf
  • 111
  • 1
  • 6
0
votes
1 answer

Process request in NGINX on Azure App Service

I have an UWSGI application and a Celery/Flower task worker/monitor. They are deployed on Azure App Service as a multi-container application. Locally I am routing jobs to the worker by using "HOST: worker" in the HTTP request. The task monitor is…
lammy
  • 101
  • 1
0
votes
1 answer

Docker container can not connect to public ips

I created a docker container based on bitnami/dokuwiki. This container can not access the dokuwiki extension catalogue. After checking things out, it was clear that this container can not connect to any host. This is docker-compose.yml: version:…
SPQRInc
  • 151
  • 1
  • 5
0
votes
1 answer

Environment variables within docker images

My goal is to use environment variables in the docker-compose.yml file that can be referenced inside the application itself like in config/database.yml docker-compose.yml ... environment: $DB_NAME: myapplication $DB_USER: appadmin $DB_PASS:…
Bert
  • 1,028
  • 1
  • 16
  • 33
-1
votes
1 answer

Build Docker image with a future view of RPM upgrade

My aim is to build a docker image for my application, the core part of the application is installed through RPM during the image build. Suppose I've built my docker image with 'application-version-1.rpm' file and a container is running with this…
SANITH
  • 99
-1
votes
1 answer

Reverse proxying multiple different dockerized HTTPS services

I have two services, both neatly dockerized, each with their own docker-compose.yml. Each services has its own domain name. Both services uses HTTPS and have Lets Encrypt certificates. Both services are completely self contained and listen on 80 and…
aioobe
  • 371
  • 1
  • 4
  • 16
-1
votes
0 answers

access minidla with vlc over zerotier

I have a server with some dockers. One of these is a MiniDLA server. In my local network I can see all movies/songs that minidla server shared, with my smartTV, phone, tablet... Its working. Now, i added a new docker with zeroTier client in server.…
Jakala
  • 99
  • 1
-1
votes
1 answer

Docker Container DNS slow (~ 4 seconds) with DNS resolver as container

DNS resolution inside all of my Docker containers is consistently slow (slightly more than 4 seconds). From the host, DNS queries are fast, as well as on the rest of my network. I must admit I did not try many things up until now because googling…
-1
votes
1 answer

Incorrect IP address of docker container

I use RockyLinux and I have installed Docker for my services. My docker-compose.yml file looks similar like this: version: "3.9" services: service_a: container_name: service_a build: ./images/service_a hostname: service_a …
1 2 3
38
39