Questions tagged [docker-compose]

Compose is a tool for defining and running multi-container Docker applications.

Filter by
Sorted by
Tagged with
0
votes
0answers
30 views

Connect to mongodb replicaset running on docker behing nginx proxy

I'm using docker-compose for mongodb replica set. Everything work fine on my host where docker is running. I had problems when I tried to connect from another client which is in the same network.I ...
0
votes
1answer
81 views

Nginx Docker container always restarting

My current docker-compose.yml looks like this: version: '3' services: testsite-nginx: image: nginx:alpine container_name: test_site_nginx restart: unless-stopped ...
0
votes
1answer
8 views

How to connect to PostgreSql database in docker (linux) container from windows desktop via vbscript

I face the following error in trying to connect to PostgreSql database in (linux) docker container from windows desktop via vbscript: Microsoft OLE DB Provider for ODBC Drivers (30, 11) : FATAL: ...
0
votes
0answers
25 views

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 ...
1
vote
1answer
48 views

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 ...
2
votes
0answers
39 views

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, ...
0
votes
1answer
17 views

How can I use docker-compose to deploy to production using an env_file on the server?

Take the following simplified example: services: app: image: alpine env_file: config.env entrypoint: - /bin/sh - -c - 'echo "Var is: $$MY_VAR"' I have config....
0
votes
0answers
21 views

mount directory in docker container for nginx-webserver, using docker-compose // Piwigo Nginx NAS Docker

I'm trying to mount a specific directory from a docker host system to a Nginx-Webserver, using docker-compose, but I couldn't reach the expected content in the web application (Piwigo Photo-Gallery). ...
0
votes
1answer
48 views

Can't 'php artisan migrate' inside docker

Trying to run 'php artisan migrate' in docker returned following error Illuminate\Database\QueryException could not find driver (SQL: select * from information_schema.tables where table_schema = ...
1
vote
1answer
56 views

Handle docker’s variable ip in iptables

On my production environment I have some apps in Docker that need to connect to backing services eg the database on the same host. I found I needed to make an exception in iptables to accept these ...
0
votes
0answers
32 views

what should be the ipv4_address when deploying docker compose cluster on azure vm?

I have the following docker compose file that I want to deploy to a Azure Viurtual Machine. I am new to deployment and cloud. I am really confused as to what to right in place of ipv4_address? In the ...
0
votes
0answers
13 views

How to check that docker-compose did resource allocation

I'm trying to allocate resources inside docker-compose: version: '3' services: db: # omitted for brevity my-service: image: my-image restart: always ports: - "8080:8080&...
0
votes
1answer
492 views

CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python

I'm trying to use docker-compose (which was installed via pip3), yet running into following warning everytime I do anything: # docker-compose version /usr/local/lib/python3.5/dist-packages/paramiko/...
0
votes
1answer
39 views

Single Nginx Docker vs Multiple Nginx Docker for websites

Forgive me if I am asking a stupid question, but I am building a server where I will host multiple Flask websites Docker Container using Nginx Docker. My question now is: is it better to have one main ...
0
votes
0answers
28 views

Host multiple web apps on NGINX Docker

I want to host multiple Flask apps on my docker nginx image. I want each app to listen on a different port. However, i am unable to do so. nginx.conf server { listen 80; location / { ...
0
votes
1answer
161 views

DockerFile and docker-compose (Homeassistant and Node-red Nodes)

I hope this is an easy one. I'm using Docker to run Homeassistant and Node-Red containers on a Raspberry Pi 4. Based on this guide they recommend making a DockerFile to install Node-Red nodes to ...
0
votes
1answer
37 views

docker-compose for JFrog artifactory OSS version?

I want to try out JFrog artifactory OSS using docker compose. I have found: https://jfrog.com/download-jfrog-platform/ https://api.bintray.com/content/jfrog/artifactory-pro/org/artifactory/pro/docker/...
0
votes
0answers
155 views

Traefik: Unable to obtain ACME certificate for domains DNS

traefik level=error msg="Unable to obtain ACME certificate for domains \"example.domain.com\": cannot get ACME client get directory at 'https://acme-v02.api.letsencrypt.org/directory': ...
0
votes
0answers
80 views

Nginx reverse proxy on Host for docker containers

I have an Nginx reverse proxy on my host that serves some docker containers on the same host.I did this so users won't need to input the port to gain access to the web interfaces.The problem i'm ...
0
votes
0answers
16 views

“Docker-compose run” shows backend running but can't access from host

I was trying to use docker for my flask backend along with postgres database. Here is my docker-compose.yml file version: "2" services: api: ports: - 5000:5000 build: ...
0
votes
0answers
16 views

How can I limit exposure/ port mapping to specific networks using docker-compose?

I have a docker-compose file which has four networks, named: pub1 pub2 (I am not sure whether this is even required) int1 int2 together with multiple service, being in a combination of these ...
0
votes
1answer
132 views

Docker NGINX + PHP-FPM : Error 502 Bad Gateway

nginx site conf: server { listen 80; listen [::]:80; server_name example.com www.example.com; root /var/www/example.com; location / { index index.php index.html; } ...
0
votes
0answers
265 views

Docker Compose ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

I have docker running on a centOS VM. All of a sudden my docker stopped working. When running docker-compose up, I get the following error every time: Creating network "nginx-php" with the ...
0
votes
0answers
72 views

Dockerized NGINX/STRAPI/DB/CLIENT setup

For development purposal I would like to implement this: Dockerized strapi app But there is a problem with routing to /dashboard/. It should load static files from strapi container, which is not doing....
0
votes
0answers
120 views

How to configure Wireguard to allow Internet access?

I have an Ubuntu 20.04.1 LTS to host a linuxserver/wireguard Docker container. Clients can successfully connect to the Wireguard server, but I'm unable browse Internet websites on the clients while ...
0
votes
0answers
85 views

How to run Gatsby Docker with Docker Compose

I am trying to setup Gatsby which will eventually be placed in a devcontainer in VS Code. Before doing that, I'm trying to get Gatsby to run in Docker with docker-compose locally. I found a ...
0
votes
0answers
37 views

Nginx - Angular not passing Authorization header

This is the schematic of my microservices setup: To put in words: request comes from browser nginx reverses proxy the request to the angular container angular container makes request to the backend ...
0
votes
0answers
56 views

Jitsi and OnlyOffice on one Server (Ubuntu 18.04)?

I'm creating a intranet right now and facing some problems I cant find a solution for. I want to install OnlyOffice (a openSource Groupware) and Jitsi (openSource video conferencing) all trough Docker ...
0
votes
0answers
59 views

docker-compose and willfarrell/autoheal not restarting container with exit 2

docker-compose is not restarting my container even if it is listed with an exit code 2 is docker-compose ps. Name Command State Ports --------------...
0
votes
1answer
37 views

Kubernetes or Docker-Compose - how to immediately spawn new docker image from queue

I have a list of scheduled work items. When a work item is "ready", a "Scheduler" should dynamically start a "Worker" Docker image. "Worker" runs 15-240 ...
0
votes
0answers
12 views

docker-compose mysql no re-creating db

I have this simple and standard docker-compose.yml version: '3' services: dbwp: image: mysql:5.7 volumes: - db_wp:/var/lib/mysql restart: always environment: ...
0
votes
0answers
82 views

I am trying to set up a drupal site using docker in a Vagrant VM and can't seem to get Certbot to work

So I am trying to set up a drupal site using docker in a vagrant VM using bento/ubuntu-20.04. I went through this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-drupal-with-...
0
votes
0answers
23 views

Docker random 503 after working perfectly for a week, printing logs fixes it

I am hosting a java backend for an app. I start the docker by using docker-compose up -d which works perfectly for me. However after roughly a week the server randomly responds with 503 Service ...
0
votes
0answers
32 views

Docker Compose Outgoing IP Address on Machine with Multiple IP Addresses Assigned

Docker Compose is used to run a container on an Ubuntu 20.04 machine with multiple IP addresses assigned to its network interface (e.g. 192.168.1.100, 192.168.1.101, 192.168.1.102). The docker ...
0
votes
1answer
42 views

The Debezium Kafka based KAFKA_ADVERTISED_LISTENERS property setting is ignored

I have a Docker Compose based Swarm with a Zookeeper service that starts fine, but the Kafka service cannot start. It keeps using the default KAFKA_ADVERTISED_LISTENERS property: debezium_kafka.1....
0
votes
0answers
199 views

Traefik get real IP client on local machine

I have a local problem that is not present when I do the deployment on my online dedicated server to get the real IP of the client. Locally, the whoami service returns the container's IP to me not my ...
0
votes
0answers
19 views

microservices with docker swarm

I have a microservices project that consists of about 10 docker-compose files (stack) and each compose file has a number of containers. These containers need to be in connect with each other, I also ...
0
votes
1answer
90 views

redirect /my-service requests to custom port on nginx

I'm trying to set up a nginx image that redirects requests depending on a url to a service port. I'm using docker-compose and this is my docker-compose.yml: version: '3.3' services: nginx: ...
0
votes
0answers
134 views

How can I use let's Encrypt certificate via traefik for Nextcloud with docker-compose?

I looking for a solution. I hope someone can help me. I'm using Docker and Docker-Compose. I want to use traefik (reverse proxy) to redirect HTTP connection to HTTPS with let's encrypt certificate, in ...
0
votes
0answers
113 views

Nextcloud fpm container with nginx on the host

I'm trying to deploy nextcloud-fpm docker-compose. But i got this error in my nginx error logs [error] 28942#28942: *7817 FastCGI sent in stderr: "Primary script unknown" while reading ...
-1
votes
1answer
77 views

Docker nginx Cannot start service

I am running docker and with that I am using nginx and cant start server on localhost full tracktrace ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on ...
0
votes
0answers
52 views

Docker containers on startup not visible (started as different user?)

As the title indicates I have a bunch of containers that are set to restart always. Everything works fine as it is but things seem to go wrong when I restart the server (Ubuntu 20.04). The containers ...
0
votes
1answer
367 views

Docker - No Outbound Traffic / Bridge Only Works When in Promiscuous Mode

I have been struggling with a very strange networking issue for the past week. In summary, my containers can't reach the internet unless I run tcpdump -i br-XXXXX (which puts the bridge into ...
1
vote
0answers
36 views

Environment variables inside of an environment file

Background I was deploying my docker environment to a production server when I've noticed that the application would not work. For some reason the environment variables were not set correctly inside ...
0
votes
1answer
37 views

Nginx: upstream server directive with regex

I've got a docker-based architecture: A configurable number of containers being load balanced by one nginx container. All of these containers exist on the same local network, backend (created by ...
0
votes
0answers
228 views

Docker : Gitlab fails to run behind Traefik : 502 Bad gateway

I'm posting here, because I'm searching to self-host my personnal website (a wordpress) and sources codes of my others projects (a gitlab instance), with the help of Traefik reverse-proxy's. Currently,...
0
votes
1answer
345 views

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 ...
1
vote
0answers
180 views

nginx HTTPS passthrough for multiple domains [With wildcard aletrnate_names in certificate]

I have the following question: I have a couple of HTTPS services that are running inside docker containers. I have an nginx container also set up so that it redirects URL to the relevant containers. ...
6
votes
3answers
12k views

CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team

I'm trying to run docker-compose (which was installed via pip), yet running into following error: # pip install --quiet docker-compose # docker-compose ps /usr/local/lib/python2.7/dist-packages/...
1
vote
0answers
73 views

mDNS service is discovered but not reachable

I've some problems connecting to services on my raspberry pi. I desire the following: 1x Raspberry Pi running multiple services (like openhab, mosquitto, nagios, etc.). Each of these services is ...

1
2 3 4 5
9