From 03fb0a23ac7be2a57831249be89801af65ffa9a1 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 17 Oct 2023 10:25:33 +0200 Subject: [PATCH] Nextcloud: Implement logs to stdout --- templates/application/docker-compose_nextcloud.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/application/docker-compose_nextcloud.yml.erb b/templates/application/docker-compose_nextcloud.yml.erb index e6d4468..7e34396 100644 --- a/templates/application/docker-compose_nextcloud.yml.erb +++ b/templates/application/docker-compose_nextcloud.yml.erb @@ -36,7 +36,7 @@ services: - 89.32.32.32 ports: - 443:443 - command: apachectl -D FOREGROUND + command: sh -c 'tail -f /var/www/html/data/nextcloud.log | tee -a /proc/1/fd/2 & apachectl -D FOREGROUND' tty: true networks: