mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Update instructions, restore log driver
This commit is contained in:
committed by
Samuel Laulhau
parent
8a6622bbbb
commit
eeffc2191c
15
README.md
15
README.md
@@ -53,7 +53,6 @@ docker run -d \
|
||||
-e DB_DATABASE='ninja' \
|
||||
-e DB_USERNAME='ninja' \
|
||||
-e DB_PASSWORD='ninja' \
|
||||
-e LOG=errorlog \
|
||||
-p '9000:9000' \
|
||||
invoiceninja/invoiceninja
|
||||
```
|
||||
@@ -91,7 +90,19 @@ If you are running the `docker-compose` setup you can output all logs, from all
|
||||
docker-compose logs -f
|
||||
```
|
||||
|
||||
If you better want a physical log file in in your `storage/logs` folder, just remove this line `-e LOG=errorlog` from the [usage](#usage) command or change it to `-e LOG=single`. Both works.
|
||||
If you better want a physical log file in in your `storage/logs` folder, just add `-e LOG=single` to the [usage](#usage) command.
|
||||
Or add an environment variable
|
||||
|
||||
```yml
|
||||
...
|
||||
environment:
|
||||
LOG: single
|
||||
...
|
||||
```
|
||||
|
||||
to your `docker-compose.yml`.
|
||||
|
||||
This generated log file will only hold Invoice Ninja information.
|
||||
|
||||
|
||||
### Known issues
|
||||
|
||||
Reference in New Issue
Block a user