32,398 questions
0
votes
1
answer
130
views
Swagger is not working in my spring boot application when using Docker
I have the springdoc in my application that generates swagger using the default url http://localhost:8090/swagger-ui/index.html
If I run the application without docker it works fine, but when using ...
2
votes
1
answer
130
views
How to properly health check a Docker container with pidof?
I want to encapsulate a service in a Docker container, and add a health check.
Is it better to use CMD-SHELL, or directly inline the command?
Because both would work:
healthcheck:
#test: ["CMD-...
2
votes
0
answers
99
views
Datahub : Token based authentication is currently disabled. Contact your DataHub administrator to enable this feature [closed]
I dont know if anyone here has already installed Datahub project using docker-compose.
I did so, in a debian machine, but when I tried to log-in i see this error :
here's the docker-compose file :
...
1
vote
2
answers
57
views
Dockerized Flask: Cannot connect to endpoint
I am running a Gunicorn app inside a docker container with the following configurations
Dockerfile:
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
...
1
vote
1
answer
590
views
Using Docker container for Odoo version 18 and Postgres 17
I tried to create a Docker container for my Odoo application. I wanted to have a customized password so I used this docker compose sample from Hub Docker for Odoo but changing the version to Odoo 18 ...
0
votes
0
answers
82
views
Trying to deploy a Laravel app that is using Laradock
I am trying to take a Laravel application that I containerized with Laradock, push the images up to a container registry, pull them down to a second machine, and have it work on the other end.
If you ...
0
votes
1
answer
56
views
Flutter web + flask_socketio: flutter app can't connect to flask socketio
I am trying to run a Flutter web frontend and a python flask + flask_socketio api/socketio backend in a docker compose file. The frontend image uses nginx as a reverse proxy, and its configuration ...
0
votes
1
answer
151
views
Liquibase update fails inside docker compose
I'm trying to set up a postgres db in docker container updated by liquibase, but run into strange errors.
Here is the docker compose:
version: '3.8'
services:
db:
image: postgres:15-alpine
...
0
votes
0
answers
74
views
Airbyte docker compose, unable to connect
I have this docker-compose.yaml file:
services:
airbyte-db:
image: postgres:13-alpine
container_name: airbyte-db
environment:
POSTGRES_DB=airbyte
POSTGRES_USER=airbyte
POSTGRES_PASSWORD=password
...
2
votes
1
answer
655
views
Can't Run the PostgreSQL 17.4 Docker Image
I'm using a JHipster 8.11.0-generated app with PostgreSQL as the database. To run the app in Docker, I execute the command:
docker-compose -f src/main/docker/postgresql.yml up
as per the JHipster ...
0
votes
0
answers
75
views
Issue getting real client's ip on laravel 12 docker container
I'm trying to get the IP of the client that's making a registration request, but when I try to get the data from code, I get the address of the Docker container. I made the following changes:
...
-3
votes
1
answer
102
views
How to connect to Postgres docker container via python [closed]
I am trying to use the postgresql docker container to create some integration tests but trying to connect fails. I added a password because if I do not I get a different error about it requiring a ...
0
votes
1
answer
97
views
MariaDB: docker compose will mount /var/lib/mysql but not other volumes
This is my Docker Compose for MariaDB:
mariadb:
container_name: mariadb
image: mariadb:latest
environment:
- MYSQL_DATABASE=homeassistant
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
...
0
votes
0
answers
32
views
Array-type argument processing in Dockerfile?
I wish to build a cross-compiler toolchain which has some arguments.
Currently I have only one configuration. Folder structure:
targets/
rpi3/
aarch64-rpi3-linux-gnu.defconfig
...
0
votes
1
answer
99
views
Running AWS DynamoDB inside a Dev Container
I'm trying to setup a devcontainer for rust project which uses dynamodb as its database.
This is the compose file (referenced AWS docs)
services:
api:
build:
context: .
...
0
votes
0
answers
119
views
Is there a separate command or setup for using podman with hot-reloading?
Im trying to setup podman as a drop-in replacement for docker and docker compose.
The 'build' and 'run' commands all work; however, the hot-reloading does not seem to work on podman while it works ...
0
votes
0
answers
31
views
can't find network functions in free5gc-compose
I am trying to do a project on network feature recognition within a 5G core. I cloned from Github the repository: https://github.com/free5gc/free5gc-compose: which uses free5gc for docker-compose: I ...
0
votes
0
answers
53
views
Cannot debug Blazor WebAssembly applications when using docker compose orchestration in Visual Studio 2022
I cannot get the Blazor WebAssembly debugging to work when using Docker Compose orchestration in Visual Studio 2022
The reproduction is quite simple:
Create a sample app using the Blazor Web App ...
0
votes
0
answers
260
views
docker-compose.yaml: services.OD Additional property device_requests is not allowed
I am trying to run a docker compose and failing. I have here a minimal reproducible example.
First with this docker-compose.yml
services:
hello-app:
image: python:3.10-slim
command: python ...
2
votes
2
answers
274
views
How to enable hot reload for a Spring Boot container from within a DevContainer?
I'm editing the source code of a Spring Boot container (created using Docker Compose) from within a DevContainer that provides a Java development environment.
After editing the source code, I manually ...
-1
votes
2
answers
462
views
Accessing a Keycloak Docker-Compose container outside the docker network
I'm writing a microservice-based Backend using Spring. We decided on using Docker Containers with Docker Compose for everything. Now we need to expose Keycloak to the outside. Keycloak itself of ...
0
votes
2
answers
121
views
Sidekiq job lost when deploying to Elastic BeanStalk
I have a Sidekiq Enterprise version. My app is running on Elastic BeanStalk (web and worker env). Also I use ElastiCache service for Redis. Before this, the application was running on a Linux system. ...
0
votes
2
answers
64
views
Execute docker compose from Node.js
I was working on a tasks script to manage my website project. I use child_process.exec to call some command line programs e.g. tsc. I've put this in a wrapper called x. I would also like to setup my ...
2
votes
0
answers
66
views
Nextjs Prisma SQL Server External database connection in docker-compose
i am trying to containerize my nextjs application but I always encounter a series of problems.
#Dockerfile
# syntax=docker.io/docker/dockerfile:1
FROM node:18-alpine AS base
FROM base AS deps
RUN ...
0
votes
1
answer
60
views
App crash when prepare to deploy using docker-compose
I have a project with two folder: frontend(react 19 with vite) and backend(fastapi), previously when in development, below are my docker and docker-compose file, and i can connect with database client ...