Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [docker-compose]

Compose is a tool for defining and running complex applications with Docker. With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.

docker-compose
0 votes
1 answer
15 views

Authentication failed while connecting to docker-compose mongodb via springboot application

docker-compose.yml version: '4' services: mongodb: image: mongo:7.0.5 container_name: mongodb ports: - "27017:27017" environment: MONGO_INITDB_ROOT_USERNAME: ...
M Hari's user avatar
  • 1
0 votes
0 answers
17 views

I can't open server in 0.0.0.0 instead it is working in 127.0.0.1 in while using Docker , Django and Postgres [duplicate]

I am a newbie to this. settings.py file is: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'postgres', 'USER': 'postgres', 'PASSWORD':...
menpj's user avatar
  • 9
1 vote
1 answer
21 views

mvn verify doesnt start docker-compose

I want to start docker-compose upon integration tests e.g mvn verify command. I am using: <dependency> <groupId>org.springframework.boot</groupId> <artifactId&...
Darlyn's user avatar
  • 4,872
0 votes
0 answers
23 views

Error response from daemon: error while creating mount source path '/var/www/todo/todo-app': mkdir /var/www: read-only file system

todo-app/docker-compose.yml version: '3.8' services: laravel: build: context: . dockerfile: Dockerfile ports: - "8080:8080" env_file: - .env ...
Fil's user avatar
  • 8,645
0 votes
0 answers
24 views

Unable to update Node.js in pre-built Docker container

I have a project that's inside a pre-built docker container which uses Node v14. I have been let know that the container was pulled like this a long time ago: docker pull node:20-alpine.. but not much ...
Psypher's user avatar
0 votes
0 answers
27 views

docker-compose generated WebAPI container fails to connect to MySql container

I have a Visual Studio .Net 8 Solution that contains a WebAPI backend project. It also contains dockerfile. I have also added a docker-compose to orchestrate the project. Outside of this visual ...
Babu Mannavalappil's user avatar
0 votes
1 answer
15 views

I am Dockerizing my Spring boot application and i am getting connection refusal errors

Here is my project https://github.com/haseeb1988/spRegistration.git // Creating network docker network create -d bridge sp-sql-net // build images docker build -t springboot_website . //run container ...
mohammad haseeb's user avatar
0 votes
0 answers
9 views

Keycloak Unable to login via OAuth (Portainer)

I'm trying to configure OAuth for Portainer via Keycloak. Everything is done as described in various guides, but I still can't get it to work. Here is my docker-compose.yaml: yaml Copy code version: '...
Vasilii Kazmin's user avatar
0 votes
0 answers
11 views

Mount new volume on existing running container (From Terminal, no Scripting) [duplicate]

In windows like host SO, If I have an existing container "LAMP-Container" and I have created a new volume with this command: docker volume create --driver local --opt type=none --opt device=...
Francisco IA Lover's user avatar
1 vote
1 answer
25 views

CORS error when fetching image from container using docker-compose

I have a NextJS frontend blog app that retrieves images and videos from a separate animations API. When this is all being run locally (frontend blog at localhost:3000 and animations API at localhost:...
jdev487's user avatar
  • 111
0 votes
1 answer
15 views

See docker name of services in petitions inside the same docker network

so I have multiple services runing in the same docker network with flask they are set like this: version: '3' services: login: build: context: ./repo_login dockerfile: Development....
Miguel Robledo's user avatar
1 vote
0 answers
28 views

Clean / Purge data in docker desktop with command line

I am using docker desktop 4.29 enterprise version. I have noticed that there are few cached data that is getting increase after every run. This is getting cached in folder "C:\Users\...
Abhishek Maurya's user avatar
0 votes
0 answers
7 views

Duplicate set of containers when running WSL with and without docker desktop

I have the following setup: Windows (Host) - running docker desktop WSL2 - /home/user/workspace/nxg contains my project files Vscode connected with a Devcontainer Project directory with relevant ...
Rohan's user avatar
  • 8,016
0 votes
0 answers
14 views

Use .sh file to build image in docker compose

I have a docker compose file that works fine on my Windows/WSL environment. I am trying to deploy it to a Ubuntu server. I get the following error unable to prepare context: path "/home/dev/...
The Governor's user avatar
0 votes
0 answers
18 views

How to run Diskover with docker-compose?

I am trying to run Diskover using docker compose. I tried the Docker compose file from here, but that did not connect to the elastic search engine. I tried to update the docker compose file, but it ...
Soerendip's user avatar
  • 8,680

15 30 50 per page
1
2 3 4 5
2150