From 89ae36315da4f6dced429a318ddd4fb4263ea784 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 19 Jan 2021 07:38:54 +1100 Subject: [PATCH] Remove sys_admin, add application variable --- docker-compose.yml | 2 -- env | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f3cf5e1..6147708 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,8 +28,6 @@ services: image: invoiceninja/invoiceninja:5 env_file: env restart: always - cap_add: - - SYS_ADMIN volumes: # you may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data! - ./config/hosts:/etc/hosts:ro diff --git a/env b/env index 965a97d..753087c 100644 --- a/env +++ b/env @@ -6,7 +6,9 @@ DB_HOST1=db DB_USERNAME1=ninja DB_PASSWORD1=ninja DB_DATABASE1=ninja -PHANTOMJS_PDF_GENERATION=false + +#this is a system variable please do not remove +IS_DOCKER=true #V4 env vars DB_STRICT=false