From 9e6e57838f90e175a725169c0ea954f43ebbb99a Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 8 Apr 2020 14:04:39 -0500 Subject: [PATCH] Set production NODE_ENV Without this we run in development mode. The logs indicate this is less good and production mode is faster/better. Change-Id: Idc19bdcb84375f29cb973f5271e8c090465c7f5b --- playbooks/roles/etherpad/templates/docker-compose.yaml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/roles/etherpad/templates/docker-compose.yaml.j2 b/playbooks/roles/etherpad/templates/docker-compose.yaml.j2 index db35d37859..b7bcad9226 100644 --- a/playbooks/roles/etherpad/templates/docker-compose.yaml.j2 +++ b/playbooks/roles/etherpad/templates/docker-compose.yaml.j2 @@ -19,5 +19,7 @@ services: restart: always image: docker.io/etherpad/etherpad:1.8.0 network_mode: host + environment: + NODE_ENV: production volumes: - /etc/etherpad/settings.json:/opt/etherpad-lite/settings.json