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
7 views

Why does docker-compose use different images/containers for each stack service?

I am migrating from a MAMP stack to docker and can't seem to understand why the interesting docker-compose approach is designed to run different linked containers for every service (say php, mysql, ...
0
votes
0answers
8 views

Using Flyway in CI/CD to populate/seed a Postgres DB in Docker then TAG and publish the new docker image to be used for testing

I want to start using Flyway to version our database changes. I am trying to create a Postgres Docker container with seeded data, TAG and publish that docker image to be used in automated testing.I ...
0
votes
3answers
37 views

docker-composr.yml command argument

Is there a way to make this command run in a container, as an argument of the docker-compose.yml?command:"rabbitmqctl set_policy ha "example-queue" '{"ha-mode":"all", "ha-sync-mode":"automatic"}' -...
1
vote
1answer
25 views

docker-compose and using local image with mounted volume

I have an image I create with DockerfileFROM mhart/alpine-node:latestWORKDIR /appCOPY package*.json http://stackoverflow.com/RUN npm installCOPY src /appNow in docker-compose.yml I build this imageversion: '3.7'...
0
votes
2answers
26 views

Error cannot start services after running docker-compose up -d using Laradock

I just ran docker-compose up -d nginx mysql redis to install docker for the first time on Mac OSX 10.13.6 High Sirra. It seems I WARNING: Image for service nginx was built because it did not ...
0
votes
0answers
10 views

Docker-Compose: Expose range ports to host while scale containers

I am using a docker-compose file and I need to scale specific containers by using the commanddocker-compose scale taskcontainer=3Unfortunately this is not possible due to the fact that I need to ...
0
votes
0answers
21 views

Docker compose/nodejs: Restart required to connect after ECONNREFUSED

I have a docker-compose file. There is a mysql service and a nodejs service (Nestjs using TypeORM). Sometimes when I bring the stack up, the nestjs service tries to connect to the mysql service before ...
1
vote
0answers
20 views

Docker-compose with many (hundreds) of environments

I am using docker to run a script which needs to be run in about 100 different environments. What is the best practice to do that?In similar situation but having less environments, I have tried ...
1
vote
1answer
32 views

How to NGINX Reverse Proxy outside of Docker to proxy_pass to docker containers

I have an NGINX running on a CentOS server and would like to proxy_pass to running docker containers running on the same host.When using proxy_pass with the IP of container it works, however if ...
0
votes
0answers
13 views

ArgumentError: pathname contains null byte - prawn - docker

I'm currently working on a Rails 5.2 application. In the Dockerfile I'm using ruby:2.5-alpine. when running the following codepdf_attached_doc.image signature_image I get the following error. ...
0
votes
0answers
9 views

Docker traefik cannot access to my containers

I want to create a container using the php:5.6-apache image and access to it by writing in my url sample.test.localI know how to do it with updating my /ect/hosts file but i want to know if it's ...
0
votes
0answers
22 views

Docker gitlab container heatly but not accessible

Hello,I have the following problem on docker 18.06.1-ce.I have an owncloud container that works with the following configurations:Image : owncloud/server:10.0Status healthyPorts : 0.0.0.0:4090->...
-1
votes
0answers
16 views

MAMP, MEAN and docker (+ compose) coexistence for local dev [on hold]

I have a simple MAMP installation on a laptop and I plan to refactor an old Apache+PHP+MySQL project. I'd like to have two parallel projects simultaneously: the old AMP version and a newer refactored ...
0
votes
1answer
30 views

How to make multiple DNS point to one service in Kubernetes

When we were using docker-compose, we could map multiple aliases to one container/service via links. For example, bucket1.s3 and bucket2.s3 are aliases for container s3. Now as we are moving to ...
1
vote
2answers
19 views

Copying local git config into docker container

I'm using both docker and docker-compose to host what for the most part is a LAMP stack. I'd like to be able to use git inside one of my containers without it asking for my user.email and user.name on ...

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