Category "docker-compose"

How to prevent database docker from being rebuilt and losing production data

I love using docker & docker-compose for both development and production environments. But in my workflow, I keep considering dockers as disposable: it me

Why could Kafka warn "partitions have leader brokers without a matching listener"?

I'm trying to get Kafka to work on docker-compose for the first time. The application runs fine without docker. But on docker, I get the error as described belo

How to mount existing directory on Windows Host in Docker Portainer?

I have docker-compose.yml volumes: - D:/Docker/config:/config - D:/Downloads:/downloads I can do this with docker-compose up without any issue Bu

debconf: delaying package configuration, since apt-utils is not installed

I'm setting up Docker to run my CakePHP application and my Dockerfile is like FROM php:7.2-apache # Enable Apache Rewrite + Expires Module RUN a2enmod rewrite

Volume binding using docker compose on Windows

I recently upgraded my Docker Toolbox on Windows 10, and now my volume mounts no longer work. I've tried everything. Here is the current mount path: volumes:

Problem with setting up a stack nginx proxy manager using portainer on my home server

I had this error while trying to setup a nginx proxy manager container using portainer, portainer started without problems error: Recreating 3167b8f95097_nginxp

Problem while rs.initiate() for setup docker-compose for replica set

I want to setup MongoDB replica set with docker-compose with only one node. This is my docker-compose.yml file: version: '3.7' services: mongodb1: image

WARNING: The DB_USER variable is not set

I am using docker compose for my project. And I have a strange error after docker-compose up --build: WARNING: The DB_USER variable is not set. Defaulting to a

CORS Error with dgraph and apollo graphql

I am unable to run query requests with my local dGraph server. I am running dGraph using docker compose with both zero and alpha React client side frontend usin

Difference in docker restart policy between on-failure and unless-stopped?

I have read the docker-compose documentation about restart policy of containers, However I failed to understand the difference between on-failure and unless-st

Can't log MLflow artifacts to S3 with docker-based tracking server

I'm trying to set up a simple MLflow tracking server with docker that uses a mysql backend store and S3 bucket for artifact storage. I'm using a simple docker-

How to deploy container using docker-compose to google cloud?

i'm quite new to GCP and been using mostly AWS. I am currently trying to play around with GCP and want to deploy a container using docker-compose. I set up a

Install node_modules inside Docker container and synchronize them with host

I have the problem with installing node_modules inside the Docker container and synchronize them with the host. My Docker's version is 18.03.1-ce, build 9ee9f40

Installing latest docker compose on Ubuntu

I use the following to install the most recent docker compose for my ubuntu server: curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-c

[VS2019/2022]How exactly {ServicePort} in the Docker-Compose project works and can be configured?

How to use other service in the Docker-Compose to be paired with the {ServicePort}? I only want a web-server(like Nginx) service to be exposed. How can I point

Docker Error bind: address already in use

When I run docker-compose up in my Docker project it failes with the following message: Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address a

Volume odoo. Permission issue

Ubuntu 18.04. I am using odoo docker files docker-compose: version: '3.7' services: web: build: ./build # image: odoo:13.0 # user: root depen

Speed up docker-compose shutdown

When I set up my application to run via docker-compose up, it takes several seconds to stop on ctrl+c. However, if I run docker kill ..., the container stops ve

docker-compose with multiple postgres databases from sql dumps

I know this may seem like a duplicate of docker-compose with multiple databases, but I still can't manage to get it working after going through the answers. He

How to run "--verbose" for wiremock in docker compose file

I want to get verbose output from mockwire when running in docker using docker compose file. I tried these three ways but none of them work. first way services: