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
1
vote
1 answer

Moodle behind ssl reverse proxy: "Reverse proxy enabled, server can not be accessed directly, sorry."

I tried to make moode run behind a ssl reverse proxy using this solution but I get the following error: Reverse proxy enabled, server can not be accessed directly, sorry. Please contact server administrator. In the moodle's configuration I…
Dimitrios Desyllas
  • 563
  • 2
  • 11
  • 30
1
vote
1 answer

docker-compose response interactively to docker output

I have the following docker container: FROM debian:stretch-backports RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ ruby ruby-dev \ curl wget \ gnupg \ git \ …
Mic
  • 11
  • 1
1
vote
1 answer

Why is my Docker Symfony project with Composer consuming so much memory?

Description I'm deploying my symfony project in prod. It works fine when I simply run docker-compose up. However I'm getting an issue with my deploy script and try accessing the web page in my navigator. Fatal error: Allowed memory size of…
kemicofa ghost
  • 133
  • 2
  • 7
1
vote
1 answer

Docker Nginx reverse proxy configuration

Context: I'm fairly new to nginx, and figuring out how to incrementally make this work. I've worked around this problem for a while till now, where it's actually hindering development on one of my apps as a result of improper behavior (headers not…
TomJ
  • 11
  • 1
  • 6
1
vote
2 answers

Port accessing error for a docker app on google compute engine VM instance

I'm trying to deploy an web app in a VM instance at Google Compute Engine (GCP). I connect to instance via ssh and deployed docker-compose orchestrated app. Which runs two docker containers as below. CONTAINER ID IMAGE COMMAND …
1
vote
0 answers

Cannot change /etc/hosts in docker container with read_only root filesystem

I am trying to add a line in /etc/hosts file with a specific IP and a hostname. The IP is static and the hostname is retrievable from the /etc/hostname. However, I want my root file system to be read-only. So I get the following error: /etc/hosts:…
belabrinel
  • 125
  • 1
  • 6
1
vote
1 answer

Should I have seperate docker compose files for each server?

So I'm evaluating docker for our current system and I just have a couple of questions. Note I'm not an expert, I just want some answers here to try to get a clearer impression of whether Docker works for our organisation. So we want to deploy a .NET…
Ok_Joe
  • 11
  • 1
1
vote
1 answer

404 Not Found with nginx and php

I got inside the browser: 404 Not Found nginx/1.13.10 and in the logs I got: $ ls logs/ nginx-access.log nginx-error.log $ cat logs/* 172.17.0.1 - - [27/Mar/2018:02:11:35 +0000] "GET / HTTP/1.1" 404 572 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS…
user977828
  • 225
  • 1
  • 6
  • 15
1
vote
1 answer

Dockerise a laravel application - getting permission denied on apache server

I am trying to dockerise my laravel site. I am on Windows 10 and the docker toolbox doesn't work quite well for me (relative path doesn't mount well). So, I have decided to setup a Virtualbox Ubuntu 16.x server and install docker CE inside the VM.…
Latheesan
  • 357
  • 2
  • 6
  • 19
1
vote
1 answer

Build new image, lose old volue data?

In my docker compose file, I specify two services: phpant (a custom image derived from debian with PHP compiled and postfix running so PHP can actually send emails) and a mysqldb service that pulls the latest from the docker hub. In the phpant…
DrDamnit
  • 348
  • 5
  • 18
1
vote
1 answer

Docker with wordpress/mysql/nginx, no styles in wordpress

So I'm trying to configure few containers with docker-compose. My goal being to use nginx to run wordpress-fpm. So far here is my docker-compose.yml: version: '3' services: nginx: image: nginx links: - wordpress …
E-Kami
  • 123
  • 1
  • 6
1
vote
2 answers

Docker Compose selective attaching to services

It's possible that I may be blind or stupid but I have a fairly simple problem for which, aside form not being able to accurately describe it in the title, I wasn't able to find a straightforward solution online. I have a docker-compose.yml…
1
vote
2 answers

Have troubles figuring out the execution context using Docker and Docker Compose

I have the following docker-compose.yml: version: '3' services: frontend: build: context: ./ dockerfile: docker/Dockerfile image: tsl.web.frontend.image container_name: tsl.web.frontend.container ports: -…
Brian
  • 321
  • 3
  • 5
  • 15
1
vote
0 answers

Port forwarding to a Gitlab server running on a Docker container

I am trying to setup a gitlab server in my local server and open it to internet access. I followed these steps: 1) Container created using the image at https://github.com/sameersbn/docker-gitlab, by running wget…
1
vote
0 answers

How to run linux daemon in container linked to another container with docker-compose?

Disclaimer: I'm posting this here because people started to vote to close this question on SO as "off-topic". Although some people believe Docker questions should be posted on SO as opposed to SF, others believe the opposite. I have the following…
rfgamaral
  • 960
  • 2
  • 11
  • 18