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

Nginx with docker load balancing app server (php)

I haven't found an solution so far, so I'm asking here: This is the situation I'm locking an solution for: We are planing an architecture that contains the following components Docker Container (auto load balancing as load requires it) Application…
Chris West
  • 115
  • 9
0
votes
1 answer

How to remotely deploy Docker services on an existing Digital Ocean droplet?

I've got a docker-compose.yml file which defines 3 services: MySQL db, ASP.NET Core api application and Angular application. The last two images are built locally, not pulled from a remote repository. How am I supposed to log in from my local…
0
votes
1 answer

Consul, vault and postgres containers don't communicate

I'm trying to set up Consul with Vault for secrets management for Postgres with Docker. Here is my configuration Dokcerfile: FROM python:3.6-slim ENV VAULT_VERSION 0.11.1 ENV CONSUL_VERSION 1.2.3 RUN apt-get update \ && apt-get install -y \ …
kebie
  • 141
  • 1
  • 1
  • 6
0
votes
1 answer

Dockerized Gitlab-runner can't find Gitlab container

Beginner here :) I’ve set up a Gitlab instance on my company’s local network. It is hosted in a docker container, running on a dedicated server, whose hostname is “devserver” This Gitlab instance is reachable via “https://mycompanygit”, because the…
Munshine
  • 101
  • 1
0
votes
1 answer

symbolic link get not created inside docker container

Unfortunately, I am not able to create this symbolic link (&& ln -s /db /var/www/html/blast/db/) inside the docker container. What did I miss? FROM ubuntu:16.04 # File Author / Maintainer MAINTAINER Rafael Hernandez…
user3523406
  • 3
  • 1
  • 3
  • 6
0
votes
1 answer

Save Docker containers as single image

I don't have much experience with Docker so not sure if this is even possible, but I'm trying to export my Docker containers as a single image. I've created a web server using various images from the official repos (nginx, php7, postgresql). I have…
0
votes
1 answer

docker has volume permission but docker-compose doesn't

I have installed Docker on an Amazon Linux server and given it permissions with sudo usermod -aG docker $USER. When I start my Jenkins docker containers (which have the home directories on an EBS mounted volume, mounted at /var/lib/docker/volumes)…
eekfonky
  • 289
  • 1
  • 4
  • 12
0
votes
1 answer

Temporarily expose docker container

Recently I have been working a lot with docker, especially docker-compose. Oftentimes I have some container running along with a database and sometimes I want to inspect the data of the database with some external tool on my machine. The database…
TorbenJ
  • 213
  • 1
  • 2
  • 7
0
votes
1 answer

Ellakcy moodle-compose repo: Used the solution but I get 303 redirect loop

I used the docker-moodle solution offered from ellkcy's repository that used their built docker images. But for some reason I get a 303 redirect loop and the browser fails to load the moodle. Over my .env I have setup the following settings # In…
Dimitrios Desyllas
  • 523
  • 2
  • 10
  • 27
0
votes
2 answers

Docker Error creating external connectivity network

i am trying to deploy a portainer/agent stack with the recommended docker compose configuration as suggested in the official documentation (https://portainer.readthedocs.io/en/stable/agent.html), and it deploys and runs correctly on all the nodes…
X0r0N
  • 225
  • 1
  • 2
  • 7
0
votes
1 answer

docker-compose link with container running on host network

I have a postgres container running as host network_mode and a Nextcloud container running on default (bridged) network with port 8080:80. How can I link the containers so that Nextcloud can access postgres? I've tried adding this to my…
cclloyd
  • 583
  • 1
  • 13
  • 24
0
votes
2 answers

Docker run file not found

I am trying to write a simple dockerfile that wraps around a bash script. The docker file looks like this: FROM openjdk:8-jre-alpine COPY . /build/demo WORKDIR /build/demo/ RUN pwd; ls RUN chmod +x run-demo.sh RUN run-demo.sh 1 zk and the context…
Jason D'Amour
  • 31
  • 1
  • 1
  • 3
0
votes
0 answers

Docker generating SSL certs error

I'm trying to generate certificates with the letsencrypt image and save them to a named volume but I'm having issues. It's only generating the certificate for the top level domain, not any subdomains. docker-compose.yml: version: '3.5' services: …
cclloyd
  • 583
  • 1
  • 13
  • 24
0
votes
0 answers

docker-compose up isn't using my just-built image?

I found a problem with one of my images (a configuration file contained the wrong hostname), so I fixed it (edited the configuration file) and ran docker build -t me/foo, and then ran docker-compose up -d. My docker-compose.yml contains: version:…
Roger Lipscombe
  • 2,057
  • 5
  • 24
  • 37
0
votes
2 answers

docker permissions on `sssd.conf`

I know it is awfully specific, sssd.conf that is. But upon COPY (or ADD) sssd.conf I receive the same error: ERROR: Service 'samba_adc' failed to build: failed to copy files: failed to copy file: Error processing tar file(exit status 1): Error…
ehiller
  • 241
  • 1
  • 3
  • 10