Docker containers fail to run if 'docker-compose.override.yml' isn't included
-
I have described the bug in complete detail in the Description section. -
I have specified steps in the Reproduction section. -
I have included any logs related to the bug in the Logs section. -
I have included the versions which are affected in the Version(s) section.
Description
Bringing up the containers without using the docker-compose.override.yml
file fails to start all containers. Not sure if this is a bug with Compose or not, but it also causes the startup to (appear to) hang forever and never finish.
Adding the volume mounts for ca
, smartgit
, and nginx
from docker-compose.override.yml
to docker-compose.yml
appears to fix the issue.
Reproduction
In the root of the aurweb repository, run docker compose -f docker-compose.yml up -d nginx
.
Logs
CA:
/docker/ca-entrypoint.sh: line 38: /root/.step/password.txt: No such file or directory
SmartGit:
*** Starting uWSGI 2.0.20 (64bit) on [Tue Jan 18 06:54:19 2022] ***
compiled with version: 11.1.0 on 02 December 2021 23:41:43
os: Linux-5.13.0-25-generic #26~20.04.1-Ubuntu SMP Fri Jan 7 16:27:40 UTC 2022
nodename: da3b689d3cc8
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /aurweb
detected binary path: /usr/bin/uwsgi
setgid() to 33
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** WARNING: you are running uWSGI without its master process manager ***
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
bind(): No such file or directory [core/socket.c line 230]
NGINX:
cat: /data/localhost.cert.pem: No such file or directory
cat: /data/root_ca.crt: No such file or directory
Version(s)
Commit: ebb33356
Edited by Hunter Wittenborn