mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-02-01 03:37:09 +01:00
Remove sys_admin, add application variable
This commit is contained in:
@@ -28,8 +28,6 @@ services:
|
|||||||
image: invoiceninja/invoiceninja:5
|
image: invoiceninja/invoiceninja:5
|
||||||
env_file: env
|
env_file: env
|
||||||
restart: always
|
restart: always
|
||||||
cap_add:
|
|
||||||
- SYS_ADMIN
|
|
||||||
volumes:
|
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!
|
# 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
|
- ./config/hosts:/etc/hosts:ro
|
||||||
|
|||||||
4
env
4
env
@@ -6,7 +6,9 @@ DB_HOST1=db
|
|||||||
DB_USERNAME1=ninja
|
DB_USERNAME1=ninja
|
||||||
DB_PASSWORD1=ninja
|
DB_PASSWORD1=ninja
|
||||||
DB_DATABASE1=ninja
|
DB_DATABASE1=ninja
|
||||||
PHANTOMJS_PDF_GENERATION=false
|
|
||||||
|
#this is a system variable please do not remove
|
||||||
|
IS_DOCKER=true
|
||||||
|
|
||||||
#V4 env vars
|
#V4 env vars
|
||||||
DB_STRICT=false
|
DB_STRICT=false
|
||||||
|
|||||||
Reference in New Issue
Block a user