Category "docker-compose"

Preserve Kafka Connectors on `docker-compose down`?

I followed Confluent's guides and made both the broker and zookeeper services use named volumes. Apparently, all of the connect service's data are on broker, so

Redis replication - Failed to resolve hostname

I am trying to setup a redis replication cluster with 3 redis servers (1 primary and 2 replicas) and 3 redis sentinels. One server and database pair will exist

Docker compose can't correct build react app

I have api (net-core) and react-app projects in root folder. I start dockerize my project from react application. If docker-compose and docker file in same reac

apk: not found, even with python:3.9-alpine

I am trying to build docker image: FROM python:3.9-alpine ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 ... But, I got this error: Building app Step 1/

Communication between multiple docker-compose projects

I have two separate docker-compose.yml files in two different folders: ~/front/docker-compose.yml ~/api/docker-compose.yml How can I make sure that a container

Localstack and python and docker-compose strange behaviour

I have created a docker-compose file for localstack and I'm using only services like s3 and SQS. It works fine and I could create a dummy SQS, S3 from localsta

How to pass environment variable in docker-compose command from the terminal

In docker we can pass environment variable as docker run -e -e "TEST_SUITE=TNT-TestSuite.xml". Can I do the same or similar for the docker-compose? Right now I

Cannot deploy spring boot application with docker to aws elastic beanstalk with eb cli using docker compose

I have a problem here! I cannot deploy spring boot application to AWS Elastic Beanstalk with eb cli using docker-compose.yml Here my code! Here my simple API @R

NodeJS Cannot Connect to Postgres at Dockerized Environment

I am trying to run a NodeJS application on Docker. However I get that error: could not connect to postgres: Error: connect ECONNREFUSED When I debug the proble

Docker compose specify container network as host network

What is the docker compose equivalent of running a docker container with network of container === host network ? docker run --rm -d --network host --name my_ngi

Docker access container from java application in different container

I created a Dockerfile and i want to conntect my crawler application with my selenium server. I have connected the services via link, but its not possible to re

run glue container locally using docker-compose

I would like to run REPL shell (Pyspark) from the glue container using this command $ docker run -it -v ~/.aws:/home/glue_user/.aws -e AWS_PROFILE=$PROFILE_NAME

Error initializing graphdriver installing docker on Ubuntu 20.04

I tried to install docker on Ubuntu 20.04 with the following commands: sudo apt update sudo apt install apt-transport-https ca-certificates curl software-proper

Host docker nginx multiple apps on same host Ubuntu

I want to manage reverse proxy (Nginx) with multiple Independent webapps on the same host. Means I have 4 webapps that are hosted on containers separately via d

Ho to debug Go app with DLV and MODD on Docker

I'm running a Go app on the Docker and want to use VSCode to debug it via DLV at the same time using MODD for app rebuild. So far I cannot figure out how to con

Docker container eating space over time in my EC2

I've installed only Hasura and a Postgres database (yes yes, I'll change it) in 1 docker container each. The containers themselves don't use much space, but my

Flask static send from localhost to server

I am deploying an application on localhost and listening on a port on a remote server which is bound to a domain, the application shows up fine on localhost and

How can I get VS2019+ to run docker compose?

I have a solution containing an Azure Function App and my app uses CosmosDb and some other services when debugging/running locally via Visual Studio. I have a d

"ACI integration does not support labels in compose applications" but I don't specify any Service labels

So I'm trying to deploy a composed set of images, (one is local and is being built the other is being pulled in from a container registry I control) to a docker

Unable to name a Mongo database in Docker compose

Can anyone tell me where I am going wrong. All I am trying to do is name a Mongo database using docker compose. I have a docker compose file that looks like thi