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

How to deploy a dockerised app to ubuntu

I’m trying to deploy an dockerised app on Ubuntu and I have: created a /var/www directory made this directory 777 set the ownership to my deployer user cloned my repo into /var/www/my-repo When I run docker compose up --build I get file permission…
2
votes
1 answer

How to allow a Docker container to bind a privileged port as another user?

I have a docker-compose.yaml file where I override the user that is used to run the container process using the user directive: version: "3.3" services: front: image: "ghcr.io/hexil-org/hexer-front:latest" restart:…
Xxmarijnw
  • 23
  • 1
  • 4
2
votes
1 answer

redis sentinels with docker-compose

so I have this kind of docker-compose version: '3.8' x-base: &base image: redis:latest x-base-sen: &base-sen image: redis:latest command: redis-sentinel /sentinel/sentinel.conf --protected-mode no services: redis1: <<: *base …
scaryhamid
  • 143
  • 1
  • 6
2
votes
0 answers

WSL2 Dockerized Nginx not available in browser, but ping respond

I have a Windows 10 Home on my computer with WSL2. In WSL I run Docker with this docker-compose.yml file: version: "3" services: httpd: image: 'nginx:stable-alpine' ports: - '80:80' volumes: - ./:/var/www/html -…
2
votes
1 answer

Docker-compose can't connect via socks-proxy to SSH remote host

I'm trying to deploy containers using docker-compose to remote server via SSH. Remote server SSH can be accessed only via SOCKS proxy. I created ~/.ssh/config with valid SOCKS configuration for that: Host HostName
g4s8
  • 121
  • 3
2
votes
1 answer

Docker compose - disable default gateway route

Is it possible to prevent docker from defining default route when using docker-compose yaml file? If my docker-compose.yaml defines network ipam with default driver and any subnet, seams like docker (or docker compose) automatically assigns default…
Boris
  • 173
  • 1
  • 10
2
votes
1 answer

Docker-compose IP address for Database

I found a Django project and failed to get it running in Docker container in the following way: git clone https://github.com/hotdogee/django-blast.git $ cat requirements.txt in this files the below dependencies had to be…
user977828
  • 225
  • 1
  • 6
  • 15
2
votes
0 answers

Segmentation fault when running docker-compose

I've been running into a tough issue I sort out. Here is the context. First, the Dockerfile I'm using: ####################################################################### # BUILDER # Builds Toolset, SDK/PSW…
X99
  • 192
  • 4
  • 14
2
votes
1 answer

Invalid Request Block Size with Nginx and USWGI

I am trying to load balance 2 Python apps using Docker and Nginx. App 1 is run using UWSGI and App 2 is run using default Python Server (I used default server for App 2 just for testing purposes. At the end of the day both should use UWSGI) The…
Mervin Hemaraju
  • 115
  • 4
  • 14
2
votes
1 answer

Can't access Atlassian Confluence via IP with Docker deployment

I'm deploying Jira, Confluence, and Bitbucket in a Docker environment. The configuration is fairly standard. Using Atlassian images, host volumes for application data, etc. Jira and Bitbucket are working fine and can be accessed via : on…
thedude19
  • 121
  • 3
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,682
  • 1
  • 19
  • 37
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
  • 575
  • 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

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/transport.py:33: CryptographyDeprecationWarning:…
alexus
  • 13,112
  • 32
  • 117
  • 174