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

How to fix a Nextcloud docker container after skipping a major version?

I am running my private Nextcloud instance using docker (docker-compose). I tried to upgrade to a newer Nextcloud version but did not realize I was not supposed to skip a major version (from 21 to 23). Now I cant start it at all: When I try to…
Leifb
  • 75
  • 8
0
votes
1 answer

Nginx reverse proxy is loading different sites when refreshing

I want to host multiple websites in one server with nginx reverse proxy by following this tutorial https://www.datanovia.com/en/lessons/how-host-multiple-https-websites-on-one-server/ The Nginx proxy and each website are launched separately with…
ehku
  • 11
  • 1
0
votes
1 answer

Sail up for a cloned laravel project does not work

I have Windows 10, WSL2, and Docker. I've cloned a repository from GitHub, and when I try to sail up, I get this message: /usr/bin/env: ‘sh\r’: No such file or directory. The following is from the laravel website which I believe is the solution to…
r j
  • 1
  • 1
0
votes
1 answer

Docker container does not register host name in docker-internal DNS

I use Docker to implement a Nextcloud service. For this, I use the official nextcloud-apache image, an Nginx reverse proxy, certbot, and MariaDB. Nothing special, really. My docker instance runs in swarm mode. All containers run together with the…
0
votes
1 answer

Syncing docker-compose remote context state across multiple developers

Got a question about docker contexts, Fellas. Assuming we make a docker-compose context for a remote machine (i.e., `docker context create aaa --docker "host=ssh://root@1.1.1.1") And build it and run it on the remote machine (i.e., docker-compose…
jimmytann
  • 111
  • 1
0
votes
0 answers

Using environment file in haproxy container

Im trying, unsuccessfully, to run the official haproxy container (https://hub.docker.com/_/haproxy) with an environment file per (something like this https://www.loadbalancer.org/blog/how-to-install-haproxy-rhel/) to allow me to substitute vars in…
richv
  • 146
  • 2
  • 8
0
votes
0 answers

Docker container dosnt see new group that I added

I have my user theuser who belongs to the groups docker and systemd-coredump. When I login via ssh I can see via the groups command that I do indeed have the systemd-coredump group. The strange thing is my docker container (running as theuser) can…
hcker2000
  • 101
  • 3
0
votes
1 answer

Redis inside Docker Compose Permission Denied for RDB file Crontab

Hi I have following docker-compose.yaml file. version: "3.9" volumes: local_postgres_data2: {} local_postgres_data_backups2: {} services: postgres: image: postgres container_name: angel-postgres restart: always volumes: …
0
votes
0 answers

Real Client-Ip with Cloudflare, Docker, Traefik and nginx set up as a mail proxy (Client-Ip in PHP script, not in upstream mail server)

I set nginx as a mail proxy, but i have trouble detecting the real Client-Ip in the php authentication script called by nginx via auth_http. I am not interested in getting real-IP on the upstream mail server. This is my stack: Cloudflare manages…
Frugan
  • 41
  • 2
0
votes
0 answers

nginx domain name is not showing docker

I am new experimenting with docker and nginx and it seems that i cannot make Nginx. context: there is 3 docker container run on docker compose (Nginx, frontend, and a Api backend) the website works fine with the IP address using the domain name…
0
votes
1 answer

Is there a de-facto 'standard' for the gateway address on a LAN

Is there a de-facto 'standard' for the gateway address on class C subnets? Asking because I've been fighting a docker-compose issue with macvlans where it assumes the gateway is always at 192.x.x.1, while the actual gateway is 192.x.x.251
Roddy
  • 280
  • 1
  • 4
  • 9
0
votes
0 answers

How to add condition in elbsg.config in ebextensions for elasticbeanstak

Currently, we use docker-compose and .ebextensions to update elastic load balancer security group. However now I have requirement to apply different security groups for different environment. How do I add the condition to elbsg.config ? Below is my…
0
votes
0 answers

VM Instance write permisson (Container Optimized OS)

Actually I set up a VM instance and installed a container base OS but now when I run the container with docker-compose up (just an alias) I receive an error from traefik, do you know what the problem is? I always receive an error that storage is not…
0
votes
1 answer

Indent issue at docker compose

enter image description here ubuntuserver@ubuntu:~/Nginx-Reverse-Proxy/proxy$ ubuntuserver@ubuntu:~/Nginx-Reverse-Proxy/proxy$ cat docker-compose.yml version: "2" services: proxy: build: context: ./ networks: - example1 -…
0
votes
0 answers

Docker remove not existing container from `host` network

I cannot start one of my containers because there is an old version of the container stuck in the network. When i try to start the container (with docker-compose) docker-compose up -d service_name i get the following error: Creating…
bigbear3001
  • 113
  • 5