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

Centos7 firewall not blocking ports by default

Problem: MySQL port 3306 is open and publicly accessible. I want to close it. Firewall status $ sudo firewall-cmd --state running $ sudo firewall-cmd --zone=public --list-all public (active) target: default icmp-block-inversion: no …
Putr
  • 131
  • 2
0
votes
2 answers

Increasing the size of /var/ on centos7

I'm running docker containers on my machine which puts it all in /var/. df shows that /var/ is only 5G but I know the total amount of this system if 40G and it has at least 24G available. How can increase the size of /var/ an extra 15G? I'm unclear…
pnus
  • 33
  • 7
0
votes
0 answers

Nginx via docker compose no longer responding to port 443

I've been trying to set up a reverse proxy for another docker container and nothing I do can get it to work anymore. No matter what I do I can no longer get https to respond at all. Sabnzbd works via http://192.168.1.157:8080 and…
Patman
  • 1
  • 1
0
votes
0 answers

Unable to pass the root MySQL password into an AWS ECS Fargate launch type WordPress deployment

I'm trying to figure out how to pass the root MySQL password into an ECS Fargate luanch type WordPress deployment. I'm working with this official AWS tutorial which provides this sample docker-compose.yml file: version: '3' services: wordpress: …
dlanced
  • 227
  • 1
  • 4
  • 12
0
votes
1 answer

Apache Err 403 on static files from a docker volume

I am struggling with staticfiles and, since I'm new to docker and not quite fluent with Apache, I am not sure whether the problem comes from the former or the latter. [the set up] I have a dockerized app with a WSGI server and I am using a non…
zar3bski
  • 133
  • 1
  • 2
  • 9
0
votes
0 answers

DBI connect('orthomcl:mysql_local_infile=1','root',...) failed

I have cat orthomcl/Dockerfile: FROM debian:stretch-backports RUN apt-get update && apt-get install -y --no-install-recommends \ wget \ cpanminus \ build-essential \ default-libmysqlclient-dev \ python \ …
user977828
  • 205
  • 4
  • 15
0
votes
1 answer

How to properly get code logs from container in host using docker compose and volumes

I am trying to understand how to share logs generated by a toy project into a volume. The logs are generated inside a docker container. For this, I am using docker-compose version 3. So far, I built the volume and the container with docker compose.…
ChiPlusPlus
  • 123
  • 4
0
votes
1 answer

logstash charset error (gelf)

I had some trouble with Logstash and Nginx (all running on Docker). On my docker-compose file i was trying to enable logging from Nginx container to Logstash: nginx: container_name: nginx image: nginx:latest volumes: -…
0
votes
1 answer

redis-sentinel Docker container can't resolve master instance hostname

I'm trying to set up redis-sentinel from bitnami and I'm getting the following error: redis-sentinel_1 | nami ERROR Unable to start com.bitnami.redis-sentinel: redis-sentinel_1 | *** FATAL CONFIG FILE ERROR *** redis-sentinel_1 | Reading the…
AndreasKralj
  • 321
  • 1
  • 4
  • 15
0
votes
0 answers

Embedded DNS stops working after installing and starting firewalld on CentOS 7 container

I have two dockers that run from docker compose: version: "3" services: sqa: image: sqa ports: - "80:80" hostname: sqa networks: - robottest_net tty: true slave: image: slave ports: - "8270:8270" …
0
votes
1 answer

Why does nextcloud in a docker container not see my none docker mariadb

I have searched for this question on the internet, but found only topics the other way around. (connecting to a mariadb in a docker container). I'm in the process of installing nextcloud in conjuction with onlyoffice. Now i need to configure a db. I…
Mart1250
  • 3
  • 1
0
votes
1 answer

Docker compose doesn't reuse the intended anonymous host volumes on container recreation

I have an Ansible container and when I have developed a docker-compose file create the container. version: '2' services: ansible_tower: image: ybalt/ansible-tower:latest ports: - "333:443" volumes: - ./certs:/certs -…
CK LZEM7
  • 3
  • 3
0
votes
1 answer

Docker compose db not starting

I have this docker-composer.yml file that starts 4 services: a web portal, a mysql db an elastisearch and kibana service. If I use as db image mysql:latest, I see all 4 services starting. But if I use as image mysql:5.7 the db is not starting. I…
Glasnhost
  • 541
  • 3
  • 10
  • 19
0
votes
1 answer

Share node_modules binary between containers in docker-compose

I would like to run a binary npm file in a container which was installed by another container. I understand that it is possible using a shared volume. I have the following configuration: docker-compose.yml version: '3' services: cypress: …
0
votes
2 answers

ubuntu 18.04 docker swarm ipv6

Unfortunately I am not able to dump configs in here so I will attempt to describe. I have a docker compose file, when I do a docker up on it things work fine. However, when I start it with docker stack deploy --compose-file {the file that worked} I…