From 558c542112451332fcbf018682d9d7dacdb14ab9 Mon Sep 17 00:00:00 2001 From: Jonathan Adami Date: Sun, 26 Apr 2020 17:51:52 +1000 Subject: [PATCH] See if that's what's breaking it, but for now nginx doesn't start and logs nothing --- Procfile | 2 +- swarmloop.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 swarmloop.sh diff --git a/Procfile b/Procfile index a73caa5..a04686b 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ -swarmmerge: while true; do ls -d /etc/nginx/node.conf.d/*.conf | entr -d python3 /app/mergeswarm.py; done +swarmmerge: /app/swarmloop.sh dockergen: docker-gen -watch /app/nginx.tmpl /etc/nginx/node.conf.d/`hostname`.conf nginx: nginx diff --git a/swarmloop.sh b/swarmloop.sh new file mode 100755 index 0000000..8cf949f --- /dev/null +++ b/swarmloop.sh @@ -0,0 +1,4 @@ +while true; +do + ls -d /etc/nginx/node.conf.d/*.conf | entr -d python3 /app/mergeswarm.py; +done \ No newline at end of file