Docker doc updates.
This commit is contained in:
@@ -1 +1 @@
|
|||||||
docker build . -t imexonline/media-server
|
docker build . -t imexonline/media-server:latest -t imexonline/media-server:1.0
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- MEDIA_PATH=/media
|
- MEDIA_PATH=/media
|
||||||
- DUPLICATE_BILL_TO_VENDOR=false
|
- DUPLICATE_BILL_TO_VENDOR=false
|
||||||
image: imexonline/media-server
|
image: imexonline/media-server:latest
|
||||||
18
readme.md
18
readme.md
@@ -1,6 +1,7 @@
|
|||||||
# Env. Vars
|
# 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.
|
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.
|
MEDIA_PATH => Must match the mount directory of the volume. e.g.
|
||||||
volumes: - ~:/root - "/Users/pfic/Desktop/ISM:/media"
|
volumes: - ~:/root - "/Users/pfic/Desktop/ISM:/media"
|
||||||
environment: - MEDIA_PATH=/media
|
environment: - MEDIA_PATH=/media
|
||||||
@@ -12,4 +13,19 @@ environment: - MEDIA_PATH=/media
|
|||||||
By default, it will query from the job files. Anything duplicated to the vendor files is purely for reference.
|
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.
|
If an invoice number is included, it will be default fetch that file only.
|
||||||
|
|
||||||
## Jobs
|
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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user