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.

581 questions
2
votes
1 answer

Docker causes VM to go dark

I'm running an Ubuntu 18.04 Virtual Machine hosted by Nutanix. Every so often, I will see an issue where a docker network will be created with docker-compose, and then the machine will go completely unresponsive. I've only seen this three times,…
C.Nivs
  • 123
  • 1
  • 7
2
votes
2 answers

Changing port of mariadb in docker-compose

I run a number of WordPress sites using docker-compose (and nginx-proxy). So I can use the same docker-compose file for each site I use .env. I want each of the MariaDB containers to use different ports (as they are sharing the same external docker…
Ben Edwards
  • 341
  • 4
  • 13
2
votes
0 answers

Keycloak takes a long time to wake up if unused during a day or more

I installed Keycloak with a docker compose, behind an NGINX reverse proxy. Keycloack is only installed now for testing. When I stop using it for a days or more, next time I have a "Request Time-out" error, I need to refresh the page two times…
Tom DARBOUX
  • 121
  • 1
2
votes
1 answer

Http-01 Challenge failed and Connection refused

I just bought a new server, and want to follow this for www.pretty-formula.com. Here is the record I added to pretty-formula.com: In the server, ufw status returned Status: inactive. After putting pretty-formula.com in related files, I got this…
SoftTimur
  • 337
  • 2
  • 8
  • 16
2
votes
1 answer

Docker Compose file — limit restart count

In my docker-compose.yaml I am saying to alway restart app service app: build: . image: app:latest ports: - 3000:3000 restart: always volumes: - "./:/usr/src/app" This works, but in case of permanent error (eg.…
Mailo Světel
  • 233
  • 4
  • 10
2
votes
1 answer

AWS: ECS/ALB setup, converting a docker-compose file, port mapping to mulitple containers

I know this is not an 'original question'. The general topic is covered extensively. Neverthless i'm struggling with my particular setup: I'm trying to basically convert the following docker-compose file into an ECS based deploy in AWS. version:…
2
votes
2 answers

Recreate containers with no downtime in docker-compose

I am using docker-compose for deploying several containers on the same host. My images are built in Google Cloud Build and stored on gcr.io; I am not using docker-compose to build my images. When I run docker-compose pull followed by docker-compose…
sffc
  • 382
  • 1
  • 3
  • 11
1
vote
0 answers

Multiple Docker-Compose-Files for reverse proxy and services

I have created two docker-compose files, the first one creates an nginx-proxy and a letsencrypt-nginx-proxy-companion. The other yaml-file creates a nextcloud instance (with mariadb). The first two containers start without an error and work, but…
elvenking
  • 11
  • 3
1
vote
0 answers

Docker Swarm's overlay network DNS consistently resolving hostnames to an IP address one number lower than a container's actual IP

I'm having a very odd reproducible issue with Docker Swarm. I'm attempting to deploy a Dgraph server cluster via Docker Swarm across four LXD containers. For context, Dgraph Zero is the control server and each Dgraph Alpha server does the lifting…
1
vote
2 answers

Nextcloud behind Ngnix reverse proxy in a subdir url

I use a Ngnix reverse proxy to keep several docker services behind HTTPS and in the same DNS. Basically I want to access to Nextcloud with: https://server..fr/cloud/ I have access to the initialisation page but all dependencies don't load…
Opsse
  • 131
  • 1
  • 6
1
vote
1 answer

docker-compose access ports externally

I'm sure this question has been answered before, but I cannot find a simple solution anywhere. I have multiple docker-compose projects running on a single host, with unique host port mappings. I'd like to access a Flask API from outside the server,…
port5432
  • 173
  • 2
  • 5
  • 17
1
vote
1 answer

Unexpected port 8080 on docker ps

I use docker-compose up to start a container, and then use docker ps to display its info, I see the PORTS part is as below 0.0.0.0:2280->2280/tcp, 0.0.0.0:7000->7000/tcp, 8080/tcp the 8080 is unexpected. the image-building Dockerfiles is: FROM…
lily
  • 185
  • 2
  • 7
1
vote
1 answer

Errors while restoring mariadb/mysql dump in docker

I'm running mariadb in a docker container. I want to backup and restore using a sql dump. I created the database for use with wordpress, and created just one test page. I installed phpmyadmin to the same database. I created a backup like…
lonix
  • 896
  • 10
  • 23
1
vote
0 answers

Overlay network in docker swarm not working

This is my setup: https://github.com/czpo/docker-reverse-proxy So there is a simple nginx/php stack called "site1" on the worker, and when I put a reverse proxy on the worker node it will load that site in the browser. But if I put the RP on a…
1
vote
0 answers

Debugging a basic nginx upstream issue

people of serverfault. Started dabbling in docker with nginx and nodejs, and I'm having a bit of trouble figuring out how to debug my issue here. I'm running 3x nodejs containers and 1x nginx load balancer in front of them. I can spin up the…
remus2232
  • 11
  • 1