https://hub.docker.com/r/docspell/joex

https://hub.docker.com/r/docspell/restserver

https://hub.docker.com/r/docspell/dsc

https://docspell.org/docs

https://docspell.org/


#postgres

docker run -d  -p 5431:5432  --name postgres  --restart=always  -v /etc/localtime:/etc/localtime:ro  -e POSTGRES_USER='root' -e POSTGRES_PASSWORD='wdqdmm@p' -e POSTGRES_DB='docspell'  -v /data/file:/data/file  postgres:latest


#solr

docker run -d  -p 8983:8983  --name=solr  --restart=always  --workdir=/opt/solr   solr:latest  bash -c 'precreate-core docspell; exec solr -f -Dsolr.modules=analysis-extras'


#joex

docker run -d  -p 7878:7878  --name=joex   --restart=always  -e DOCSPELL_JOEX_BASE__URL='http://joex:7878'  -e DOCSPELL_JOEX_ADDONS_EXECUTOR__CONFIG_RUNNER='docker,trivial'  -e DOCSPELL_JOEX_BIND_ADDRESS='0.0.0.0' -e DOCSPELL_JOEX_FULL__TEXT__SEARCH_SOLR_URL='http://solr:8983/solr/docspell' -e DOCSPELL_JOEX_JDBC_PASSWORD='wdqdmm@p' -e DOCSPELL_JOEX_CONVERT_HTML__CONVERTER='weasyprint' -e TZ='Asia/Shanghai' -e DOCSPELL_JOEX_APP__ID='joex1'  -e DOCSPELL_JOEX_JDBC_USER='root' -e DOCSPELL_JOEX_PERIODIC__SCHEDULER_NAME='joex1' -e DOCSPELL_JOEX_JDBC_URL='jdbc:postgresql://postgres:5432/docspell'  -e DOCSPELL_JOEX_FULL__TEXT__SEARCH_ENABLED='true'  -e DOCSPELL_JOEX_SCHEDULER_NAME='joex1'  --workdir=/opt   -v /data/file:/data/file   --link postgres --link solr  docspell/joex:latest


#restserver

docker run -d  -p 7880:7880  --name=restserver   --restart=always -e DOCSPELL_SERVER_BACKEND_ADDONS_ENABLED='false'  -e DOCSPELL_SERVER_ADMIN__ENDPOINT_SECRET='admin123' -e DOCSPELL_SERVER_BACKEND_SIGNUP_MODE='open'  -e DOCSPELL_SERVER_INTERNAL__URL='http://restserver:7880' -e DOCSPELL_SERVER_INTEGRATION__ENDPOINT_ENABLED='true'  -e DOCSPELL_SERVER_BIND_ADDRESS='0.0.0.0'   -e DOCSPELL_SERVER_FULL__TEXT__SEARCH_ENABLED='true'  -e DOCSPELL_SERVER_INTEGRATION__ENDPOINT_HTTP__HEADER_HEADER__VALUE='integration-password123' -e DOCSPELL_SERVER_BACKEND_JDBC_URL='jdbc:postgresql://postgres:5432/docspell'  -e DOCSPELL_SERVER_BACKEND_SIGNUP_NEW__INVITE__PASSWORD=' '  -e DOCSPELL_SERVER_BACKEND_JDBC_USER='root'  -e DOCSPELL_SERVER_FULL__TEXT__SEARCH_SOLR_URL='http://solr:8983/solr/docspell'  -e DOCSPELL_SERVER_BACKEND_JDBC_PASSWORD='wdqdmm@p'  -e DOCSPELL_SERVER_INTEGRATION__ENDPOINT_HTTP__HEADER_ENABLED='true'  -e DOCSPELL_SERVER_AUTH_SERVER__SECRET=''  -e TZ='Asia/Shanghai'  --workdir=/opt   -v /data/file:/data/file  --link postgres --link solr  docspell/restserver:latest


#consumedir

docker run -d  --name=consumedir  --restart=always  -v /data/site/docker/data/docspell:/opt/docs:rw  --workdir=/opt  --link restserver  docspell/dsc:latest  dsc -d http://restserver:7880 watch --delete -ir --not-matches '**/.*' --header Docspell-Integration:integration-password123 /opt/docs


http://g.htmltoo.com:7880


git clone https://github.com/eikek/docspell

cd docspell/docker/docker-compose

docker-compose up -d


docker exec -it joex /bin/sh

docker exec -it restserver /bin/sh

docker exec -it consumedir /bin/sh

# Alpine安装,以及维护:  https://abc.htmltoo.com/thread-310.htm


docker stop  postgres solr joex restserver consumedir

docker rm  postgres solr joex restserver consumedir


签名:这个人很懒,什么也没有留下!
最新回复 (0)
返回