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
2
votes
2 answers

Can Docker volumes be mounted from a device instead of bind mounting a directory?

I'd like to setup a docker service (docker-compose) on a Linux host with a container mounting an entire [removable] physical hard drive as a docker volume. I know that it's trivial to setup bind mounts in docker-compose and I can manually mount the…
Philip Couling
  • 1,535
  • 1
  • 17
  • 32
2
votes
1 answer

Kubernetes deployment - don't restart pods if image checksum hasn't changed

We have a system that currently uses docker-compose for deployment of containers (effectively docker-compose pull && docker-compose up) and are in the process of converting the system to Kubernetes. We have CI/CD that deploys to production…
Steve Folly
  • 545
  • 3
  • 12
2
votes
1 answer

Traefik SSL for a service that runs on non-standard port

Disclaimer: My Docker and my Traefik knowledge is weak. I have several times tried following the Traefik docs and I usually just get confused, possibly because I want to tackle more than the simplest of cases but also, I'm sure I am missing some…
Craig Silver
  • 123
  • 1
  • 4
2
votes
0 answers

Deploying docker instances based on user input

I have a use case where I would like to automatically deploy some services (say 2-3) whenever a user signs up. The services are available as pre-built docker images that are the same for all users, but the configuration (e.g. as specified in…
andresti
  • 21
  • 1
2
votes
1 answer

Can't access port 80 (nginx) exposed through Docker, other ports work

(I originally created this question on StackOverflow but it was closed saying that it belongs in ServerFault) I would like to use a Docker container on my Raspberry PI (machine A) to act as a VPN proxy for a specific website, and access that…
Bruno Pérel
  • 121
  • 1
  • 4
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
  • 6
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
  • 307
  • 2
  • 5
  • 14
2
votes
1 answer

Docker based reverse proxy with NginX for multiple domains

I'm trying to create a docker based multi-container setup with a reverse proxy for multiple domains to serve, where the websites, the databases and the nginx based reverse proxy run in containers, but I don't know what am I missing (I'm new to…
elaspog
  • 173
  • 1
  • 1
  • 8
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
2 answers

nginx can't find /etc/letsencrypt/options-ssl-ngin.conf file

I'm trying to serve a python-django webapp using a linux box (running ubuntu 18.04) with nginx, gunincorn, letsencrypt and docker. After following a number of online tutorials I have been successful in serving the app via http through port 80 by…
Matt Ellis
  • 11
  • 1
  • 1
  • 2
1
vote
1 answer

Serving some js/html files by php-fpm

I have a setup of docker-compose having nginx and wordpress. I followed one of the tutorials across the web and everything seems to work fine. BUT I have one critical plugin which generates a couple of html/js files directly via PHP. Meaning HTML…
nKognito
  • 117
  • 6
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
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