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.

0
votes
0answers
5 views

Gitlab runner not executing bash script

I am trying to setup CI with gitlab and AWS. I have setup gitlab-runner properly on the aws instance running ubuntu 16.04. But I am getting this error while deploying.Cloning repository...Cloning ...
-1
votes
0answers
8 views

use desktop path with docker-compose

I have .net core and mongodb containers and inside my web app I need to use a Desktop path, like this one (C:\Users\Owner\Desktop\Debug\Debug\program.dll). How can I properly mount the desktop and ...
-1
votes
1answer
16 views

Docker Postgresql connection refused

I have been trying to dockerize my web-app and everything has gone (mostly) well so far! Except now I am trying to wire in (sorry if the verbage is incorrect) in postgreql as the application connects ...
0
votes
0answers
16 views

python doesn't recognize packages from a site-packages on a volume

Im trying to have 2 docker containers. one of them holding the dependencies and one of them running code that is using these packages.I installed all the necessary packages in the first container, ...
0
votes
1answer
11 views

connect my netcore app to mongodb using docker-compose?

I can't seem to connect my app container to the mongodb containerhere is the mongo class inside my apppublic BaseDao(string dbName){m_mongoClient=new MongoClient("mongodb://...
0
votes
1answer
15 views

mem_limit in docker-compose.yml version 3

I have to use a memory limitation for a service and I also need to use version 3 in the docker-compose file.My piece of code from the docker-compose.yml is:version '3'...service1:......
1
vote
1answer
17 views

Docker compose-Mount volume on a few containers AND the host

Im trying to share data between a few containers and the host using docker-compose. I have a docker-compose.yml file that looks like this:version: '3'services:base:container_name: base...
0
votes
0answers
3 views

How can I assign a service using docker swarm based on user login?

I developed a Nodejs web application, This application having user's login when the user login into his account his profile page would be displayed based on his name then from profile page he has to ...
1
vote
1answer
16 views

Docker containers out of same image don't work as expected

I have a docker-compose.yml set up like this:app:build:dockerfile: http://stackoverflow.com/docker/app/Dockerfile.devimage: test/test:${ENV}-test-app...Dockerfile called here has this line present:...
0
votes
0answers
32 views

django runserver hangs in docker-compose up but runs correctly in docker-compose run

EditAdding --ipv6 to the command, while not properly configured for, seem to surpass the point where the process hangs.ProblemCalling docker-compose up executes runserver but hangs at some point ...
0
votes
1answer
23 views

Docker-compose mount postgress database for tests

I'm trying to put together a compose file for my development environment, but I'm having problems finding some convinient way to setup a database filled with test data. I tried mounting directory from ...
0
votes
1answer
19 views

docker service logs <service-name> & docker logs <image-name> not printing logs

I have 2 nodes, 1 manager and 1 worker. Worker has around 15 spring boot services. All the services seem to be running fine when we use the UI to test the application. However when I am trying to ...
-2
votes
0answers
12 views

DB2 in docker swarm cluster in production [on hold]

Is there anyone using DB2 in a docker swarm cluster in a production environment?Thanks a lot, greetingsRaphael
0
votes
1answer
17 views

Run Dockerfile command after docker-compose up

I'm using docker-compose to build my images and run my services. Now I want to install some dependencies such as GIT and other third party. This is needed to build the application itself because other ...
2
votes
0answers
35 views

Permission denied on mkdir inside of a django Docker container when running collectstatic

I've modified django-cookiecutter default production template to make caddy web server serve static files. I'm using volumes to map the http://stackoverflow.com/static directories in django and caddy containters through ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,