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
0 answers
3 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,862
0 votes
0 answers
12 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
1 answer
21 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
22 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
1 answer
22 views

Handling secret env variables in Docker container via GitHub Actions

How can I dockerize an .env file while keeping the variables secret? I have an .env file that is hidden by a .gitignore and .dockerignore. I have an .env file that is hidden by a .gitignore and ....
beepbeepboop'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
10 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
0 answers
18 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
14 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
26 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,670
0 votes
0 answers
16 views

Docker Composer change Image .env variable not working

I have ReactJs app with .env file like this: REACT_APP_SERVER_URL="URL1" Then I using Dockerfile to build to Image: # Fetching the latest node image on apline linux FROM node:22 AS builder # ...
famfamfam's user avatar
  • 518
0 votes
0 answers
12 views

How to start Docker Compose in detached mode and keep streaming logs until all services are healthy?

My goal is simple - it is to create a script that sets up my local environment before tests are ran, and logs of my containers are vital to that - sometimes, due to some env changes, the startup fails ...
Alexander Leontev's user avatar
0 votes
0 answers
7 views

gradle-docker-compose - Cannot create a proxy class for abstract class 'ComposeExtension'

Recently a project of mine has started failing unprompted. When I would run gradle test (launching the project remotely using Jenkins) the project would instead return the following error: * Where: ...
sprogissd's user avatar
  • 2,985
0 votes
0 answers
21 views

Apache Superset Google BigQuery extended image error

I want to install Google Big Query Database Driver into my Superset configuration. I use official documentation I tried using this tip but it did not work. Steps I do: git clone https://github.com/...
KurczakChrupiacy2's user avatar
-2 votes
0 answers
23 views

Frontend does not show working correctly when uploading to a server from visual studio code in Java [closed]

It works locally perfectly, when I upload it to the server it loads fine but it has no functionality, the APIs are in status 200 and I don't get any errors Dockerfile of the frontend FROM maven:3.8.4-...
Juan Muñoz's user avatar
0 votes
0 answers
24 views

Connection timeout to redis docker image from spring boot app when using VPN

I have a spring boot app thats running NOT in docker. For local test runs, I have a docker-compose.yml to start required tools: services: redis: image: hub.server.lan/redis:5.0.14 ports: ...
Fl.pf.'s user avatar
  • 345
0 votes
0 answers
25 views

Google Gemini (Vertex AI) Raising RECITATION errors upon Docker containerization

I'm trying to use Gemini 1.5 Flash to generate JSON data from text documents. Originally, I was running into the following issues related to copyright: Unexpected error during attempt 5: Cannot get ...
Avik Samanta's user avatar
-1 votes
0 answers
18 views

Error response from daemon: network spark-hive not found

While starting the docker containers with the below command, docker-compose up -d got the "Error response from daemon: network spark-hive not found". Solution: In the docker-compose.yml ...
Balachandra Nathella's user avatar
-1 votes
0 answers
21 views

Enable IPv6 with docker compose without modifying docker-compose.yml

I'm having the issue that Docker containers don't get an IPv6 address assigned and therefore are unable to connect to IPv6-only hosts. I was able to solve this issue for regular Docker containers (...
AndreKR's user avatar
  • 33.4k
-1 votes
1 answer
23 views

Docker compose multiple Etherpad with apache frontal

I have a problem with a service built with a docker compose, I don't understand what's wrong. I have a Debian server on which I want to host 3 instances of Etherpad, each with its own configuration. ...
Aurélien Grimpard's user avatar
-1 votes
0 answers
10 views

Number of cores used in free Hugging Face Space

I’m trying to run a Python Flask application with a Docker configuration in a Hugging Face space. I have the free settings for CPU basic which claims to be 2vcpu, however I’m getting licensing errors ...
Eric Mariasis's user avatar
0 votes
0 answers
27 views

Flask unable to connect to Redis & Celery with Docker-Compose

I am able to run celery shared tasks in the flask (called web) container's flask shell without issue (docker-compose exec web flask shell), however they time out when running in a route. Suspecting ...
Nicholas G's user avatar
-1 votes
0 answers
14 views

Using Supervisord with Laravel and Docker for Queue system

I wanna use supervisord in my application for queue system but I didn't make Dockerfile and docker-compose.yml. How do I solve this problem This file is Dockerfile FROM php:8.2 RUN apt-get update -y &...
M.Eren YILMAZ's user avatar
0 votes
0 answers
25 views

Problems with Docker container configuration to specific IP addresses for Kafka and Zookeeper

I would like to run a Kafka cluster on one of my servers using a series of Docker containers. The associated Docker containers should not listen to 0.0.0.0, but to the internal and external IP of the ...
Theoran's user avatar
  • 101
-1 votes
0 answers
30 views

Access kubectl commands within my jenkins container

I have a Jenkins container running in docker compose. Inside my jenkins container I want to access kubectl, so far this was part of my docker-compose.yaml - /usr/local/bin/kubectl:/usr/local/bin/...
Mariángel Pérez's user avatar
0 votes
0 answers
19 views

Docker Hadoop Installation Error: HADOOP_HOME and hadoop.home.dir are unset

I'm setting up a Hadoop environment using Docker and encountering an error during installation: My setup: Using Docker-compose.yml to configure multiple services (namenode, datanode, resourcemanager, ...
Jay Padhiyar's user avatar
1 vote
0 answers
9 views

Parse Platform dashboard unauthorized when accessing the parse-server

What are the possible problems that is causing {"error":"unauthorized"} in the Parse Dashboard when accessing the dashboard is accessing: http://192.168.2.10:1337/parse/serverInfo ...
quarks's user avatar
  • 34.7k
-3 votes
0 answers
20 views

Manual IP setting for router does not let docker containers access internet [closed]

I am running Ubuntu on the system, changed ip address from DHCP to manual (192.168.29.106). After changing, the system was able to access the internet, but when I try it from inside a docker container,...
M.K. Malik's user avatar
-1 votes
1 answer
73k views

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'XXX.XXX.XXX.XXX' (timed out)") [closed]

I'm using docker compose and Flask python. I'm trying to run an old application but I get sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '...
Dev Dev's user avatar
  • 346
0 votes
0 answers
16 views

No Logs created in spark history server

I am using docker to setup spark-master, spark-worker and spark-history-server. For some reason, I am not able to see any logs on history-server although server is running and log directory is ...
Hemant Sah's user avatar
0 votes
0 answers
57 views

Docker compose down not removing container

For some reason, I keep getting this error where the container name is already being use, I don't always get it on deployment, but it happens frequently enough that it can cause a problem err: Error ...
user9132502's user avatar
0 votes
0 answers
17 views

Flyway Docker-Compose Windows - SQL Files Not Found

I am attempting to migrate files with Flyway to an Azure Postgres database that already contains a table. I ran the flyway migrate command with the baseline environment variable equal to true and was ...
user6866797's user avatar
0 votes
0 answers
17 views

Pulsar Initialization in Docker Composition

I'd like to have a single docker-compose.yaml file for starting my development environment. In the Docker composition I have a Pulsar container: version: '3.8' services: pulsar: image: ...
izin's user avatar
  • 1
0 votes
0 answers
24 views

Postgres Docker container does not start with a custom shell script

I have a docker-compose file with a Postgres image. The service definition is as follows: services: postgres: image: postgres:latest container_name: postgres volumes: - "{{ ...
Lukas Müller's user avatar
1 vote
1 answer
31 views

How to properly introspect Keycloak access tokens using the internal Docker URL?

This code successfully introspects a Keycloak access token using Python Keycloak and FastAPI: keycloak_openid = KeycloakOpenID( server_url="https://example.com/auth/", realm_name=&...
Tuff's user avatar
  • 61
0 votes
0 answers
23 views

Database does not exist docker image Npgsql.PostgresException (0x80004005): 3D000: database "CatalogDb" does not exist

I am trying to connect to postgres database running on docker container from visual studio, I am sure the DB exists and here is the logs: docker ps: docker ps CONTAINER ID IMAGE COMMAND ...
Mocak's user avatar
  • 11
0 votes
0 answers
31 views

Building local docker images tagged with current git branch name

I have a docker compose definition files with multiple services defined in it. For every service the general pattern (irrelevant lines omitted) is: isagog-kg2: build: context: /home/mema/...
Robert Alexander's user avatar
1 vote
1 answer
34 views

Docker Compose: Mounted Laravel's .env File Not Passing Environment Variables (Laravel, MySQL)

I'm trying to connect my Dockerized Laravel application to a MySQL database using Docker Compose. I've mounted the .env file that contains the DB_DATABASE variable, but I'm still encountering the ...
Adrian Gaile Singh's user avatar
1 vote
0 answers
11 views

setting JupyterLab password in DOcker Compose

I'm having a problem running JupyterLab locally, and setting the password via Docker Compose file. I can get it working via a docker run command, but not via Compose This also works fine with the ...
Hugh's user avatar
  • 11
0 votes
2 answers
28 views

Error: P1000: Authentication failed against database server at `localhost`, the provided database credentials for `postgres` are not valid

api git:(main) ✗ pnpm prisma migrate dev Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "postgres", ...
Jaskaran Singh's user avatar
-1 votes
0 answers
15 views

Generating and Passing API Keys Between Services Using Docker Compose

Let's assume that I have a multi-service application that is supposed to be built using docker-compose. We have two services A and B. A is an internal service and B is an external one that ...
Ahmad Mustapha's user avatar
0 votes
0 answers
17 views

When running "docker-compose up" I get the following message "services.links must be a mapping"

In my docker-compose.yml file: version: '3.7' services: # REST API running on Node JS container app: container_name: lafs-api restart: always build: . ports: - '3000:3000' # link this ...
bradbucher's user avatar
0 votes
0 answers
16 views

Cannot access the deluge ui after connecting to vpn inside the docker container

I am creating docker deluge-openvpn container i have already tried various deluge-openvpn container some works for me some does not So i created this container using: Docker-compose.yml version: '3.8' ...
SaM AroRa's user avatar
1 vote
0 answers
33 views

Webpack + docker + hot reload 404 page not found

I am trying to get successful hot reload behavior using react + webpack5 + docker. I have tried many ways. The main difference was noticed with “writeToDisk” option. If it is false, my /app/dist ...
Никита Шевченко's user avatar
2 votes
0 answers
31 views

Cannot connect to couchbase cluster created with docker compose

I am writing a java application that connects to the couchbase. Application cannot connect to database because it is necessary to create new cluster. I got Connection refused error. How can I handle ...
ozdem's user avatar
  • 35
-1 votes
1 answer
21 views

NGinX bad gateway after using command to install composer

Title says it all. Prior to installing composer with a "command" in my compose.yml file my PHP and NGinX stack was working fine. phpinfo would display on my test page. Now I just get a 502 ...
PHP Addict's user avatar

15 30 50 per page
1
2 3 4 5
645