| Name | Function | Module |
|---|---|---|
| COSMOS_MYSQL_USER | Database Username | All |
| COSMOS_MYSQL_PASS | Database Password | All |
| COSMOS_MYSQL_HOST | Database Hostname | All |
| COSMOS_MYSQL_DB | Database Default Catalog | All |
| COSMOS_MQTT_BROKER | M2M Event Channel | All |
| COSMOS_EMAIL_HOST | IMAP Email Server | |
| COSMOS_EMAIL_USER | IMAP Email Username | |
| COSMOS_EMAIL_PASS | IMAP Email Password |
Completed / Betatesting Modules:
Creates file pointers and a 'book' pointer in the necessary tables. A book is one or more pages scanned into the system. Actions are executed against books or images in the system independent of eachother. for instance, file actions executed on a image will not affect any processing at a book level. Images can also be multi-homed into books.
Command Line
docker run -it --entrypoint "python3 /app/fulltextindex.py" thescobber/ims-processor:latest
Stack Component
version: '3.2'
services:
importer2:
image: thescobber/ims-processor
environment:
COSMOS_MYSQL_USER: ${COSMOS_MYSQL_USER}
COSMOS_MYSQL_PASS: ${COSMOS_MYSQL_PASSWORD}
COSMOS_MYSQL_DB: ${COSMOS_MYSQL_DB}
COSMOS_MYSQL_HOST: ${COSMOS_MYSQL_HOST}
COSMOS_MQTT_BROKER: ${COSMOS_MQTT_BROKER}
PYTHONUNBUFFERED: 1
entrypoint: ["python3", "/app/importer.py"]
networks:
- cosmos-net
logging:
driver: local
deploy:
mode: global
networks:
cosmos-net:
driver: overlay
attachable: true
ipam:
config:
- subnet: 25.30.0.0/24
Creates a index of every image file hosted in the production/imagefile database This is responsible for crawling the index, and providing the return data back to the database. The file is marked in the ftidone field with a 1 when successful.
Command Line
docker run -it --entrypoint "python3 /app/fulltextindex.py" thescobber/ims-processor:latest
Stack Component
version: '3.2'
services:
ftinode2:
image: thescobber/ims-processor
environment:
COSMOS_MYSQL_USER: ${COSMOS_MYSQL_USER}
COSMOS_MYSQL_PASS: ${COSMOS_MYSQL_PASSWORD}
COSMOS_MYSQL_DB: ${COSMOS_MYSQL_DB}
COSMOS_MYSQL_HOST: ${COSMOS_MYSQL_HOST}
COSMOS_MQTT_BROKER: ${COSMOS_MQTT_BROKER}
PYTHONUNBUFFERED: 1
entrypoint: ["python3", "/app/fulltextindex.py"]
networks:
- cosmos-net
logging:
driver: local
deploy:
mode: global
networks:
cosmos-net:
driver: overlay
attachable: true
ipam:
config:
- subnet: 25.30.0.0/24
Downloads email from a IMAP email server database table Imagetask
| Attribute | value |
|---|---|
| task | task name can be anything |
| subtask | emailimport |
| galaxy | EML |
| path | imap path to scrape |
| arcpath | imap path for archival |
| outputpath | disk path to place attachments |
| arcaction | 0-1 |
| enabled | 0-1 |
| debug | 0-1 |
| unpack | 0-1 |
| action | dlattachement |
| priority | 0-255 |
Command Line
docker run -it --entrypoint "python3 /app/emailimport.py" thescobber/ims-processor:latest
Stack Component
version: '3.2'
services:
emailnode2:
image: thescobber/ims-processor
environment:
COSMOS_MYSQL_USER: ${COSMOS_MYSQL_USER}
COSMOS_MYSQL_PASS: ${COSMOS_MYSQL_PASSWORD}
COSMOS_MYSQL_DB: ${COSMOS_MYSQL_DB}
COSMOS_MYSQL_HOST: ${COSMOS_MYSQL_HOST}
COSMOS_EMAIL_HOST: ${COSMOS_EMAIL_HOST}
COSMOS_EMAIL_USER: ${COSMOS_EMAIL_USER}
COSMOS_EMAIL_PASS: ${COSMOS_EMAIL_PASS}
COSMOS_MQTT_BROKER: ${COSMOS_MQTT_BROKER}
PYTHONUNBUFFERED: 1
entrypoint: ["python3", "/app/emailimport.py"]
networks:
- cosmos-net
logging:
driver: local
deploy:
mode: global
networks:
cosmos-net:
driver: overlay
attachable: true
ipam:
config:
- subnet: 25.30.0.0/24
| Row | Var | Usage | examples |
|---|---|---|---|
| attribute | compile | Compiles input pdf as a book | |
| attribute | flat | Ignores building a book, and imports each image flat |
Content type
Image
Digest
Size
317.5 MB
Last updated
over 5 years ago
docker pull thescobber/ims-processor