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,255
questions
1
vote
1
answer
12
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&...
1
vote
0
answers
267
views
How to startapp from inside docker-compose [duplicate]
I have a problem in the steps of testdriven.io The definitive guide to Django Celery, when i want to start a new tdd app if i execute these commands
`
$ docker-compose exec web bash
(container)$ ./...
-1
votes
2
answers
271
views
Traefik Bad Gateway error while switching to HTTPS
I'm using Traefik to get SSL certificate for my fastapi application in a container. After spinning up the container I could find that my SSL certificate is just fine, but my website would throw me a &...
0
votes
0
answers
14
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':...
0
votes
0
answers
15
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
...
7
votes
3
answers
3k
views
Xdebug:Time-out connecting to debugging client
I am trying to setup xdebug using laravel sail with latest version, on my Ubuntu 20.04.3 LTS desktop,
ie
php 8.1
laravel 9
with below mentioned details to .env file
SAIL_XDEBUG_MODE=develop,debug
...
0
votes
1
answer
37
views
Detecting Docker Compose success in GitLab CI pipeline
I'm having some trouble with the docker container deployment in the GitLab CI pipeline. Please see my docker-compose.yml:
version: '3.9'
services:
MY_DOCKER_SERVICE_NAME:
build: .
ports:
...
0
votes
1
answer
22
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 ...
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....
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
...
0
votes
1
answer
66
views
Mounting local broker.xml to ActiveMQ Artemis container, but my local file is changed by container
I am using this RedHat's ActiveMQ Artemis image.
I have a docker-compose.yml file to run this Artemis container & I try to mount my local ./artemis/broker.xml to replace the container default one:
...
0
votes
0
answers
24
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 ...
1
vote
0
answers
27
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\...
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 ....
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: '...