2020-03-30 22:45:43 +00:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
|
|
|
restserver:
|
2020-06-17 20:28:04 +00:00
|
|
|
image: eikek0/docspell:restserver-0.7.0
|
2020-03-30 22:45:43 +00:00
|
|
|
container_name: docspell-restserver
|
|
|
|
command: /opt/docspell.conf
|
|
|
|
ports:
|
|
|
|
- "7880:7880"
|
|
|
|
volumes:
|
|
|
|
- ${PWD}/docspell.conf:/opt/docspell.conf
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
db:
|
|
|
|
image: postgres:11.7
|
|
|
|
container_name: postgres_db
|
|
|
|
volumes:
|
|
|
|
- postgres_data:/var/lib/postgresql/data/
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=dbuser
|
|
|
|
- POSTGRES_PASSWORD=dbpass
|
|
|
|
- POSTGRES_DB=dbname
|
|
|
|
joex:
|
2020-06-17 20:28:04 +00:00
|
|
|
image: eikek0/docspell:joex-0.7.0
|
2020-03-30 22:45:43 +00:00
|
|
|
container_name: docspell-joex
|
|
|
|
command: /opt/docspell.conf
|
|
|
|
ports:
|
|
|
|
- "7878:7878"
|
|
|
|
volumes:
|
|
|
|
- ${PWD}/docspell.conf:/opt/docspell.conf
|
|
|
|
depends_on:
|
|
|
|
- db
|
2020-05-25 17:43:06 +00:00
|
|
|
consumedir:
|
2020-06-17 20:28:04 +00:00
|
|
|
image: eikek0/docspell:consumedir-0.7.0
|
2020-05-25 17:43:06 +00:00
|
|
|
container_name: docspell-consumedir
|
|
|
|
command: --path /opt/docs -m http://restserver:7880/api/v1/open/upload/item/$SOURCE_ID
|
|
|
|
environment:
|
|
|
|
- SOURCE_ID=${SOURCE_ID:-none}
|
|
|
|
volumes:
|
|
|
|
- ${PWD}/docs:/opt/docs
|
|
|
|
depends_on:
|
|
|
|
- restserver
|
|
|
|
|
2020-03-30 22:45:43 +00:00
|
|
|
volumes:
|
|
|
|
postgres_data:
|