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
0
votes
1 answer

Piwik Docker compose error with linnking containers

I have cloned the following project: https://github.com/indiehosters/piwik and I modified the docker-compose like that in order to link it with the piwik with wordpress: db: image: mysql volumes: - ./mysql/runtime:/var/lib/mysql …
Dimitrios Desyllas
  • 563
  • 2
  • 11
  • 30
0
votes
1 answer

Mounting a folder on the host as the postgres config directory/

I have a git repo with my app, with a docker-compose.yml in the root for running an environment. It uses postgres 9.1 for the database (that will be upgraded). The postgres part of the config looks like this: db: image: orchardup/postgresql:9.1 …
Justin Dearing
  • 1,037
  • 12
  • 33
0
votes
0 answers

Can we rely on docker virtual network isolation?

I'm building an architecture with docker. As everything is virtual I cannot see how to apply general concept like DMZ, firewalling and other network isolation method. When two containers are sharing a "private" virtual network, does it really…
Plup
  • 161
  • 1
  • 7
0
votes
1 answer

Do we need passwords for localhost database connections in docker context?

My question is related to my specific environment : I'm running a web application in a docker container and a database in another container. I use docker compose to run both containers : my web app is linked to a network shared with all other app…
Plup
  • 161
  • 1
  • 7
0
votes
1 answer

How make Docker auto-survive kernel upgrades and restart?

Brief question: Docker, Ubuntu 16.04, auto-security-upgrades & reboot. Then how can I ensure the newest linux-image-extra-`uname -r` has been installed before Docker attempts to start the containers after an…
KajMagnus
  • 375
  • 1
  • 4
  • 14
0
votes
0 answers

Why does my Docker MySQL lose privileges for some users?

I am using the mysql 8 image in a docker compose file. Periodically I discover that the mysql user I set up for a database no longer has privileges on that database. The user still exists and has GRANT USAGE on *.* but all the database specific…
0
votes
1 answer

Which entrypoint does the --entrypoint cli option in the docker compose command override?

So imagine this command: docker compose -f docker/docker-compose.yml run \ --rm --entrypoint "" \ my-service and something like this for docker/docker-compose.yml: version: '3.9' services: my-service: depends_on: other-service ... …
Paflow
  • 173
  • 1
  • 1
  • 7
0
votes
0 answers

Dockerized Nginx Reverse Proxy - Real IP

I have following problem. I have a docker compose setup which spins up a frontend service using Nuxt3 and a backend API based on golang.This two containers are exposed via an Nginx reverse proxy everything works as expected but I need to retrieve…
Sol
  • 1
0
votes
1 answer

nginx-proxy always returning 301 Moved Permanently

I'm following the example docker compose for an nginx-proxy, but it always returns a 301 Moved Permanently error. I'm using docker hosted in Ubuntu 22.04. my docker-compose.yml file version: '2' services: nginx-proxy: image:…
PaulH
  • 181
  • 1
  • 3
  • 8
0
votes
0 answers

Web interface in Docker container not accessible

I am currently setting up a system that is composed of different Docker containers that somehow have to communicate with each other. One Docker container is dedicated to a XMPP server (prosody). This container is started by following…
0
votes
0 answers

Exception when trying to connect Eureka Server with Config Server in Docker Compose ("Connection refused")

I have created a Eureka Server and a Config Server and I am trying to get the Euketa Server properties that are in the Config. I'm trying to dockerize these two services and for that I created a docker-compose.yml, but when I run the containers the…
0
votes
0 answers

Cannot reach domain defined by server_name

I'm trying to map my backend server at http://api:4000 to my-domain.site, where api is the name of my backend service in docker compose. I run docker compose up and everything works fine, but I can only access my backend server at localhost, not my…
0
votes
1 answer

Access docker compose containers from host NGINX via reverse proxy

I am facing this issues I am not able to solve by anything I´ve found on this site or anywhere else. Lets assume I have a domain and Debian server with NGINX installed on it as main gateway for web server. On this domain (on root level) I have a…
Johnczek
  • 101
  • 2
0
votes
1 answer

OwnCloud Domain showing as localhost

I have OwnCloud running behind an nginx reverse proxy on my server. I installed it via the docker-compose.yml, following these instructions: https://doc.owncloud.com/server/next/admin_manual/installation/docker/ Everything works as I expected it…
Cediwelli
  • 101
  • 2
0
votes
0 answers

Storing Hashed Passwords for Docker and Docker Compose

What is the best way to store passwords and use them in Dockerfile and docker-compose.yaml. Can I store the secrets in a hashed format and make use of it, So that no one can read my real passwords even if they have physical access. Or else, is there…
zakadmin
  • 11
  • 1