Category : docker-network

Actually, I thought this would be an easy task. I would appreciate any help. I use nginx in a docker container: docker-compose.yml version: ‘3.0’ services: web: image: nginx volumes: – ./nginx.conf:/etc/nginx/nginx.conf – ./data:/www/data ports: – "8080:80" nginx.conf events { # configuration of connection processing } http { server { location = /auth { internal; proxy_pass ..

Read more

Hi I’m new to Docker and ElasticSearch I’m Trying to cluster total 6 ES nodes. I have 2 different server and each of them is hosting 3 dockerised ES nodes by docker-compose. I could find docker-compose.yml file on elasticsearch guide (multi node cluster part): https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html And I added something that I need to do below ..

Read more

I am having trouble to join an overlay network that spans multiple hosts. I have created a swarm with a linux centos node as the manager and a windows worker following this guide: https://santanderglobaltech.com/en/using-docker-overlay-networks-configuration-guide/ However, when trying to join the overlay network, the command docker run -it –name alpine1 –network my-net alpine fails with the ..

Read more

My question : version: ‘2’ services: zookeeper: container_name: zookeeper image: debezium/zookeeper:${DEBEZIUM_VERSION} ports: – 2181:2181 – 2888:2888 – 3888:3888 kafka: container_name: kafka image: debezium/kafka:${DEBEZIUM_VERSION} ports: – 9092:9092 links: – zookeeper environment: – ZOOKEEPER_CONNECT=zookeeper:2181 connect: container_name: connect image: debezium/connect:${DEBEZIUM_VERSION} ports: – 8083:8083 links: – kafka environment: – BOOTSTRAP_SERVERS=kafka:9092 – GROUP_ID=1 – CONFIG_STORAGE_TOPIC=my_connect_configs – OFFSET_STORAGE_TOPIC=my_connect_offsets – STATUS_STORAGE_TOPIC=my_connect_statuses Here ..

Read more

My question : version: ‘2’ services: zookeeper: container_name: zookeeper image: debezium/zookeeper:${DEBEZIUM_VERSION} ports: – 2181:2181 – 2888:2888 – 3888:3888 kafka: container_name: kafka image: debezium/kafka:${DEBEZIUM_VERSION} ports: – 9092:9092 links: – zookeeper environment: – ZOOKEEPER_CONNECT=zookeeper:2181 connect: container_name: connect image: debezium/connect:${DEBEZIUM_VERSION} ports: – 8083:8083 links: – kafka environment: – BOOTSTRAP_SERVERS=kafka:9092 – GROUP_ID=1 – CONFIG_STORAGE_TOPIC=my_connect_configs – OFFSET_STORAGE_TOPIC=my_connect_offsets – STATUS_STORAGE_TOPIC=my_connect_statuses Here ..

Read more

I need to make my PHP docker container connect with my MYSQL container. The steps I’m trying to execute are: create a docker network: docker network create network-pfa run the mysql container: docker run –name mysql –network=network-pfa -d -e MYSQL_ALLOW_EMPTY_PASSWORD=YES mysql:5.7 run the php container: docker run –name php –network=network-pfa -it php bash After these ..

Read more

I’m developing a solution that makes Docker services accessible as subdomains on an NGINX instance. Docker’s embedded bridge networks allow sibling containers to be discovered by their names; I can resolve a container service-1 as http://service-1 using the pseudo-DNS system. However, I’m stuck as to actually discovering these peers within the network. I know that ..

Read more