Questions tagged [docker-compose]

Compose is a tool for defining and running multi-container Docker applications.

Docker Compose is a tool for defining and running multi-container Docker applications.

529 questions
0
votes
1 answer

Benefits of running an Elasticsearch cluster on a single (docker) host

I'm currently running an Elasticsearch v2.3 cluster (using docker containers) on a single host. (1 gateway, 3 master nodes and 3 data nodes) In the near future I will be upgrading towards Elasticsearch v5.x and I am questioning whether keeping the…
Kenny
  • 143
  • 2
  • 14
0
votes
1 answer

docker-compose ELK container fails to start

I am deploying a docker-compose stack of 5 applications on a single AWS EC2 host with 32GB RAM. This includes: 2 x Java containers, 2 x Rails containers, 1 x Elasticsearch/Logstash/Kibana (ELK) container (from…
Garreth McDaid
  • 3,399
  • 26
  • 41
0
votes
1 answer

docker stack wont connect to any container

I am following this tutorial that uses this repository. and have just run docker stack deploy --compose-file docker-stack.yml vote. I get output that says the containers are…
codyc4321
  • 103
  • 4
0
votes
1 answer

Nginx + Docker + DotNet app on Ubuntu 16.04 request timeout

I have a Ubuntu 16.04 environment with Docker on Digital Ocean and I am booting a service using docker-compose: version: '2' services: cis-api: image: docker.myserver.com/cis-api:latest ports: - 8080:5000 environment: …
kolrie
  • 225
  • 3
  • 12
0
votes
1 answer

Mysql and container App in some host docker

I need to upload the application container and mysql server on the same host, but the containers can not find mysql server, can you help me? DOCKER COMPOSE version: '3' services: proxy: image: nginx ports: - "80:80" -…
0
votes
1 answer

secure mysql replication on a docker container with outside mysql server

I've a docker host & mariadb container in it and I want to apply a replication between this container and another server on another provider using the following example below I was able to connect remotely to the container but the port is open to…
0
votes
0 answers

Docker sharing /var/run/docker.sock when deploying through Docker Machine

I've been trying to deploy my containers using Docker Machine and Docker Compose. I am running a Windows 10 with docker for windows v1.12.5. When i start my configuration i run the following: docker-machine env my-machine & "C:\Program…
0
votes
1 answer

Regex path to pass through proxy

I have the following location directive in a dockerized machine server { listen 80; location ~* ^/openchain/ { rewrite ^/openchain/(.*) /$1 break; proxy_pass http://0.0.0.0:8080; …
Kendall
  • 247
  • 1
  • 3
  • 13
0
votes
0 answers

Commands in Dockerfile of a base image is not being run

I ran out of methods already, this is rather confusing. So, I have a docker container where I would like to "git clone" my php web application, and then run "composer install". From my understand, dockerfiles are best to keep them as flexible and…
Thomas Cheng
  • 101
  • 1
0
votes
1 answer

docker-compose volumes not mounting to host directories

I'm using docker-compose for deployment, with a 2 docker-compose.yml setup where I'm building the image locally and pulling from docker hub on the server. Locally: app: build: . volumes: - "./tmp/volume:/volume" And on the server: app: …
numbers1311407
  • 323
  • 2
  • 10
0
votes
3 answers

How to run a Docker image on another Docker host?

We're currently using Docker for development and are currently looking at how we can use Docker also to run our software in other environments such as staging and production. What we do now is that we compile our Java software with Jenkins and then…
sbrattla
  • 1,456
  • 3
  • 26
  • 48
0
votes
1 answer

How should I configure dockercloud/haproxy to proxy https?

I am using the dockercloud/haproxy image to proxy and balance incoming http requests. The docker container should listen to port 443 and 80 (-> 443). I am using Stackfiles and I've been redirecting the path /api with VIRTUAL_HOST=*/api/*. Adding SSL…
Anibal
  • 103
  • 1
  • 5
0
votes
0 answers

Docker eating up space. Won't let go until reoot

We use docker to run postgresql. It keep eating up space until there is no more space to eat. We need to reboot the machine for it to work again (usage space reduce from 100% to 23%). What could be the cause of this? We are running docker 1.11.2
Phuong Nguyen
  • 703
  • 1
  • 11
  • 27
0
votes
1 answer

Piwik Docker compose error with linnking containers

I have cloned the following project: https://github.com/indiehosters/piwik and I modified the docker-compose like that in order to link it with the piwik with wordpress: db: image: mysql volumes: - ./mysql/runtime:/var/lib/mysql …
Dimitrios Desyllas
  • 523
  • 2
  • 10
  • 27
0
votes
1 answer

Mounting a folder on the host as the postgres config directory/

I have a git repo with my app, with a docker-compose.yml in the root for running an environment. It uses postgres 9.1 for the database (that will be upgraded). The postgres part of the config looks like this: db: image: orchardup/postgresql:9.1 …
Justin Dearing
  • 1,017
  • 10
  • 33