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
32,194
questions
2
votes
0
answers
19
views
Persistent Volumes using Docker Compose (Dokploy, Directus)
I'm relatively new to Docker and trying to learn self-hosting to host some small projects. I use a reasonably new PaaS tool called Dokploy to manage my containers.
I have been trying to run Directus (...
0
votes
0
answers
16
views
Setting ASPNETCORE_ENVIRONMENT variable from launchSettings.json of DockerCompose project only
Problem Statement
I am currently working on an ASP.NET Core 8.0 Web API backend solution with multiple projects that runs using docker-compose in Visual Studio 2022. I have defined several profiles in ...
0
votes
0
answers
26
views
Multi-module maven application Dockerfile problem [duplicate]
My goal would be that I create 3 services.
1 for the DB
1 for the main application (depends on DB)
1 for testing purposes (depends on main application)
First I would like to do this with just 2 ...
0
votes
0
answers
29
views
docker compose --> nginx cannot load certificate
I am very new to Docker and containers.
I am using docker-compose to start up my application. I keep getting this error:
2024/07/19 17:05:54 [emerg] 1#1: cannot load certificate "/etc/nginx/certs/...
-1
votes
0
answers
16
views
How to provide a file to a Docker container at runtime and ensure it is accessible during container execution?
I'm working on a project where I need to provide a text file to a Docker container at runtime. This file must be accessible and used by the container during its execution. The bottom line is that the ...
0
votes
0
answers
7
views
How properly migrate my selenide tests from selenoid to selenosis?
I have to move my tests to k8s. Previously, I run my tests in docker container with java and maven (dockerfile) against docker containers with browsers, like described in docker compose below with ...
-1
votes
0
answers
32
views
Command not found: docker-compose after docker 4.32.0 update
After updating Docker on my mac to 4.32.0, docker-compose seems to not work anymore. Everything with docker works fine, all the docker commands work fine. I can also use docker run to start any ...
-1
votes
0
answers
14
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
1
answer
107
views
Return value of sqlExceptionHelper() is null
I was trying my hands on running my Spring Boot application with MySQL database on Docker Desktop via docker compose. I am getting this error upon running docker compose up .
app-1 | java.lang....
0
votes
0
answers
11
views
Run into an issue after typing the command docker compose up -d [duplicate]
This is in vagrant
run sudo -i
cd emartapp
Run docker-compose up -d
Here's the command and error message
[root@localhost emartapp]# docker compose up -d
[+] Building 33.8s (12/20) ...
0
votes
0
answers
21
views
i want to deploy a djago project, using gitlab cicd. but i see "module not found error".but the path seems to be set correclty
I am currently working on a django project and need to deploy this to the server. I use gitlab for ci/cd purpose. for requests, i use the gunicorn and the nginx. i dockerized the nginx and the '...
2
votes
2
answers
66
views
How to use docker compose secrets with a non-root user when a file is required
Situation
The current (07/2024) docker compose documentation states (falsely) that there is a long-syntax when using 'docker secrets' that can defines the name, uid, gid and mode of the mounted file
...
-2
votes
0
answers
14
views
Error response from daemon: container ... is not running
tudo bem?
Possuo um docker o qual ao eu dar o seguinte comando:
docker compose up -d --build
Ele inicia vários containers, mas ao inciar o container do meu banco de dados ele acaba dando esses erros ...
0
votes
0
answers
29
views
SQLSTATE[HY000]: General error: 1005 Can't create table 'service' (errno: 13)
MySQL keep failing on creating table. I read about the error on other resources and nothing helped.
When i ran command -
"docker compose -f ./docker/docker-compose-linux.yaml run --rm php-cli ./...
-1
votes
0
answers
30
views
Why is podman-compose unable to find docker-compose?
I'm getting the following error when running docker compose up -d:
$ docker compose up -d
Emulate Docker CLI using podman. Create /etc/containers/nodocker to
quiet msg.
Error: looking up compose ...