Docker doc updates.

This commit is contained in:
Patrick Fic
2022-05-10 15:12:34 -07:00
parent 16e2852994
commit 2928b614aa
3 changed files with 19 additions and 3 deletions

View File

@@ -1 +1 @@
docker build . -t imexonline/media-server
docker build . -t imexonline/media-server:latest -t imexonline/media-server:1.0

View File

@@ -9,4 +9,4 @@ services:
environment:
- MEDIA_PATH=/media
- DUPLICATE_BILL_TO_VENDOR=false
image: imexonline/media-server
image: imexonline/media-server:latest

View File

@@ -1,6 +1,7 @@
# 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
@@ -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.
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
```