All Questions
Tagged with docker-compose dockerfile
4,251
questions
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 ...
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
20
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
1
answer
13
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
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/...
-1
votes
0
answers
13
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 &...
0
votes
0
answers
29
views
Docker compose creates Reactjs container, but does not run it
Update - Solved (21 Jul 2024)
I have since debugged the above and managed to configure my frontend DockerFile and compose.yaml to allow me to run my spring-react app in a single docker compose up --...
-1
votes
0
answers
27
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
1
answer
31
views
Automatically running "composer install" after container is built
setting up a web development stack with NGinX, PHP and composer.
My docker file looks like this:
FROM php:fpm
# Install dependencies and PHP extensions
RUN apt-get update && apt-get upgrade -...
0
votes
0
answers
24
views
How to pass argument from gitlab_ci.yml to docker_compose.yml?
I'm new to Gitlab CI and I have a problem in existing project. There's a file VERSION in the root folder which contains version number. I need to:
in the build section of gitlab_ci.yml get version ...
0
votes
0
answers
12
views
How do I write a Dockerfile for two ROS2 Jazzy containers, one desktop, one deploy?
I don't know if this is even a sensible question. I would like to have a development ROS2 environment on my desktop and a deploy environment for the robot. I figure I use Docker containers to ...
0
votes
1
answer
27
views
Failed to solve: failed to parse stage name "node:-alpine": invalid reference format
The context is as follows: create an image of Strapi on GitLab.
Please forgive me, this is one of my first approaches to Docker.
I get this error in Docker after using the following command:
docker ...
0
votes
1
answer
43
views
Docker client unable to connect to the Docker daemon while docker service is running
I am running a Dockerfile that (is supposed to) run a docker-compose.yml file for a different package, but currently returns an error.
The command
docker-compose -f /home/kasm-default-profile/Project-...
0
votes
0
answers
33
views
Docker compose env variables not working in Vue3 app
I built a QR Code generator and I want to dockerize it. The frontend of the app I built it with Vuetify, so it uses Vite and Vue3. Inside the frontend I have a .env file with the api url and the port ...
0
votes
1
answer
19
views
postgres database connected but table relations not found when running nodejs typescript api in a docker container
i wrote a basic api with typescript in nodejs which runs fine when started with the start script "node dist/index.js", but after dockerizing it, the database seems to have been connected ...