All Questions
Tagged with docker-compose java
685
questions
-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-...
-1
votes
0
answers
21
views
Failed to load ApplicationContext for [WebMergedContextConfiguration@fcb4004 testClass in Spring boot on docker compose
I would like to add authorisations via LDAP to the project. So I added the necessary classes to the project and there was a problem building the application. I have tried various configurations ...
0
votes
0
answers
15
views
Epson java adk unable to claim acces to printer inside docker container
this is fragment of my code:
try {
ptr.open("WIFI");
log.info("printer status open {}", ptr.getState());
} catch (JposException e) {
...
0
votes
1
answer
28
views
spring boot app with rabbitmq queue connection refused while running by dockercompose
services:
postgres:
container_name: postgres
image: postgres:latest
environment:
POSTGRES_DB: mydatabase
POSTGRES_USER: myuser
POSTGRES_PASSWORD: mypassword
ports:
...
1
vote
0
answers
27
views
Creating JOOQ objects during the Docker image build process using a PostgreSQL container
I'm working on a side project and I want to create a docker-compose in order to deploy the project locally successfully.
The main flow is:
Deploy a PostgresSQL container with init.sql file
Generate ...
-1
votes
0
answers
39
views
My Spring Boot CRUD application is not working in EC2 instance
I have a Spring Boot CRUD application with MySQL which works completely fine on my localhost. Now I want it to host on the AWS EC2, but I am getting communication link failure every time.
application....
0
votes
1
answer
65
views
Docker image with Spring Boot connect to external Postgres
I have a Dockerized Spring Boot 3 (Java21) application and I am connect to an existing Postgres database, running on DEV & PROD.
pom.xml
<dependency>
<groupId>org....
0
votes
0
answers
39
views
Issue connecting to Docker daemon in development environment (free Render version)
I've developed a Java application with Spring Boot that utilizes Docker to run Python scripts within containers. My development environment is working fine, but I'm encountering an issue when ...
0
votes
0
answers
47
views
Docker containerized application not able to connect
I am using a spring cloud config server to externalize the configuration properties for my project
For this purpose I have created these microservices
configserver
accounts
cards
loans
Rabbit Mq ...
0
votes
1
answer
57
views
running java tests in devcontainer with selenium grid
I am trying to setup a devcontainer for Java based automation testing with Selenium Grid.
So far I have the docker-compose-v3.yml from https://github.com/SeleniumHQ/docker-selenium/blob/trunk/docker-...
0
votes
1
answer
53
views
Create Postgres database with Docker
I am using Spring Boot 3.3.0 and Docker (version 26.1.3, build b72abbb) on Ubuntu OS. I am using the spring-boot-docker-compose dependency so that Spring Boot starts the Docker image automatically ...
1
vote
1
answer
72
views
Spring Boot and Docker Compose cannot access Postgres
I am using Spring Boot 3.3.0 and Docker (version 26.1.3, build b72abbb) on Ubuntu OS. I am using the spring-boot-docker-compose dependency so that Spring Boot starts the Docker image automatically ...
0
votes
0
answers
13
views
Microservice doesn't map ports correctly on Kafka [duplicate]
My microservice application throws a continuous error while trying to use Kafka. I am testing several configuration possibilities and I cannot understand why it doesn't work.
Configuration of ...
-1
votes
1
answer
50
views
Unable to establish connection between Spring Boot application running on Docker container and PostgreSQL database running on another Docker container [duplicate]
docker-compose.yml
version: '3.8'
services:
db:
image: postgres
restart: always
container_name: security-db
environment:
POSTGRES_DB: security-db
POSTGRES_USER: scrty
...
0
votes
0
answers
44
views
Issue in docker run projects (Could not find or load main class MainKt)
I have two folders
my-app (react app)
shopBacked (Kotlin project create using intellij)
I want to create my projects using docker. I created 3 files: Dockerfile in my-app to run react app, Dockerfile ...