32 lines
818 B
Markdown
32 lines
818 B
Markdown
# Env. Vars
|
|
|
|
DUPLICATE_BILL_TO_VENDOR => If set to true, a copy of the bill will be sent to Vendors/{Vendor Name}/{Invoice Number}/{filename.extension}. Default to false.
|
|
|
|
MEDIA_PATH => Must match the mount directory of the volume. e.g.
|
|
volumes: - ~:/root - "/Users/pfic/Desktop/ISM:/media"
|
|
environment: - MEDIA_PATH=/media
|
|
|
|
# Operations
|
|
|
|
## Bills
|
|
|
|
By default, it will query from the job files. Anything duplicated to the vendor files is purely for reference.
|
|
If an invoice number is included, it will be default fetch that file only.
|
|
|
|
Sample Docker Compose file.
|
|
|
|
```docker
|
|
version: '2'
|
|
services:
|
|
web:
|
|
ports:
|
|
- 8000:8000
|
|
volumes:
|
|
- ~:/root
|
|
- "D:\Images:/media"
|
|
environment:
|
|
- MEDIA_PATH=/media
|
|
- DUPLICATE_BILL_TO_VENDOR=false
|
|
image: imexonline/media-server:latest
|
|
```
|