Remove sys_admin, add application variable

This commit is contained in:
David Bomba
2021-01-19 07:38:54 +11:00
parent 0c3237d3b9
commit 89ae36315d
2 changed files with 3 additions and 3 deletions

View File

@@ -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

4
env
View File

@@ -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