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

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
  • 2
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
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: …
Mudassar Hashmi
  • 103
  • 1
  • 6
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
  • 141
  • 3
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
  • 290
  • 1
  • 4
  • 9
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
0
votes
0 answers

next-auth ECONNREFUSED 127.0.0.1:80

I am using Next-auth with keycloak and docker-compose and I get this error: [next-auth][error][GET_AUTHORIZATION_URL_ERROR] arcade-iori | https://next-auth.js.org/errors#get_authorization_url_error connect ECONNREFUSED 127.0.0.1:80…
0
votes
1 answer

Can NOT bind host port 14433 to container port 433 using localhost, but https works using container IP (for example 172.21.0.2)

When I do lynx localhost:14080 from host, it works. The website is loaded from the container. When I do lynx localhost:14433 from host, it does NOT work. When I do lynx https://localhost:14433 from host, it does NOT work. Error: Unable to make…
0
votes
1 answer

UFW port not accessible from public web despite rule explicitely allowing it

I have two dedicated servers: "web" (YYY.YYY.YYY.YYY) and "monitor" (XXX.XXX.XXX.XXX). Both are in the same network of a mass hoster (hetzner). Now on "web" I have 3 prometheus metric endpoints running : docker-engine (9323) on the bare metal host…
0
votes
1 answer

Can't connect to mysql docker when using phpmyadmin docker

I'm just getting started in docker and maybe I'm starting of a little big but I found an article that explained out to get a coldfusion install (run by commandbox) up with mysql. This docker compose works just fine. I had the idea of adding in…
weggie
  • 101
  • 1
  • 1
0
votes
1 answer

docker - nodejs - selenium-webdriver - Error: Server terminated early with status 127

I am a novice in a docker container. I am trying to create a docker file that has npm, node js, chromedriver and selenium-chromedriver and run my javascript file. In my local , I run the script in the headless chrome browser. Here is my docker…
Jay
  • 103
  • 4
0
votes
2 answers

Recreate single docker-compose container with new config

If I make changes to my docker-compose.yml (say, change which host port a container port is exposed on), can I recreate that single container or do I need to restart the whole stack? docker-compose stop ; docker-compose up will do the job but I want…
Tom
  • 327
  • 2
  • 11
0
votes
0 answers

Questions about running postgres as Docker Container. 1. TimeZone, 2. global.stat

I'm been running postgres as a Docker Container for quite awhile. Initially, the TZ and PGTZ were not set, so I think it was defaulting to UTC. On my dev system I tried the following in docker-compose.yml: postgres: image: postgres:13 …
SScotti
  • 141
  • 6