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

Docker Error When Starting Docker-Compose Project

When running docker-compose up -d on a project that previously was running (for weeks), I get the following error when building a web container: » |root| ‡ master * docker-compose up -d Starting gateway_web_1 ERROR: for web Cannot start service…
David
  • 187
  • 2
  • 15
0
votes
1 answer

Is it appropriate to use Docker for both long-running and short-running processes together?

Suppose I'm building a microservice that resizes and optimizes image files. It's a long-running daemon which provides an HTTP API responding to standard GET/POST responses. Based on my knowledge of Docker, this is a perfect use case for…
smitelli
  • 1,214
  • 1
  • 10
  • 16
0
votes
1 answer

Docker-compose up not running

Having strange problem when running docker container with docker-compose. It's a docker container with apache+php If i run it manually - everything ok. [root@opcis proxy-handler]# docker run -itd -v proxy_html:/var/www/html -p 9001:80…
Jaels
  • 67
  • 1
  • 10
0
votes
1 answer

postgresql doesnt bind to ip of docker composition

I am trying to run a postgresql9.5 container using docker-compose (docker 17.06, compose 1.16 compose-file v2): postgis: build: context: ./postgis environment: ALLOW_IP_RANGE: "0.0.0.0/0" healthcheck: test:…
Jorge Mendes
  • 306
  • 1
  • 2
  • 11
0
votes
1 answer

Docker: docker-compose and migration

I have a little question about migrating containers that are defined by a docker-compose file (I think that the docs are not very clear on this, except the part of the individual containers): Suppose that you have a small project with a…
Michele
  • 101
  • 6
0
votes
1 answer

VirtualHost configuration does not work for internal calls in CentOS container

My development environment is in a docker container, based on CentOS. I have 2 virtual hosts configured. A default vhost which looks basically like this: ServerName my.local.domain.com ServerAlias *.domain.com And a specific…
Daniel
  • 101
  • 1
0
votes
1 answer

Several stacks with same container: "port already in use as an ingress port“

I'm trying to achieve the following setup: I have a center stack containing my nginx-proxy stuff. This stack declares a network (let's call it nginx_proxy_net) Next, I want to setup 2 stacks for 2 wordpress installs, each one of them is totally…
0
votes
1 answer

Docker Compose specify .docker directory?

With docker I can specify a specific config to use by doing docker --config /var/vcap/store run *** How I can I do the same thing with docker-compose so that I can specify a .docker directory that contains my config?
Breedly
  • 230
  • 2
  • 8
0
votes
2 answers

Docker: How to create an "internet only" network?

I'm ramping up on docker, and I would like to create a "internet only" network for one of my container: I want this container to only be able to access internet, it must not have any access to other containers or to the host. I've thought about…
0
votes
1 answer

Docker Mailcow: How to renew the certificate when change domains on a setup with nginx as reverse proxy?

I have setup to a mailcow-dockerized solution to my server and I wanted to change my mailserver's the domain from mail.example.ml to mail.example.tk but When I did it my browser was complaining about the wrong certificate when I visited it the…
Dimitrios Desyllas
  • 523
  • 2
  • 10
  • 27
0
votes
1 answer

How much server RAM docker-machine instance needs?

I have a docker installed at OS X and using docker-machine with my host provider server. The server OS is CoreOS, I have 3 lightweight sites with NGINX, Mongo and MySQL instances. Sometimes sites down and provider's support suggesting me with low…
0
votes
0 answers

Why I get 404 error using aliases and redirects on my nginx configuration?

I have the following nginx configuration for vhost: server { listen 80; server_name guest8.ellak.gr; location /.well-known/acme-challenge { root /var/www/letsencrypt; } location / { …
0
votes
1 answer

Docker registery show images

I installed docker registry according to this Document now i have this images : registry latest 9d0c4eabab4d 2 weeks ago 33.2 MB nginx 1.9 c8c29d842c09 12 months ago …
mah454
  • 147
  • 3
0
votes
0 answers

How to setup routes for a docker container to reach LDAP server?

Here's my setup: I have a Node.js docker container that needs to be able to make LDAPS calls to an Active Directory Domain Controller to authenticate users (Domain Controller is NOT in a container). This Node.js app container connects to another…
Wayne Hartman
  • 185
  • 3
  • 16
0
votes
1 answer

docker compose sharing volumes with mapped to paths

I have the following yaml version: '2' services: database: image: sameersbn/mysql container_name: invoiceplane_mysql volumes: - /srv/docker/invoicePlane/mysql:/var/lib/mysql/ environment: - DB_PASS=password -…
Kendall
  • 247
  • 1
  • 3
  • 13