Add indexdir volume to docker-compose

Make the indexdir data persistent and shared with Flask for searching pastes.
This commit is contained in:
Jason Hedden 2019-03-13 17:05:54 -05:00
parent 85d2ea578c
commit 9279f56048

View file

@ -37,6 +37,7 @@ services:
volumes:
- ./CRAWLED_SCREENSHOT/:/opt/AIL/CRAWLED_SCREENSHOT
- ./PASTES/:/opt/AIL/PASTES
- ./indexdir:/opt/AIL/indexdir
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
working_dir: /opt/AIL/var/www
log-queue:
@ -308,6 +309,7 @@ services:
image: ail-framework
volumes:
- ./PASTES/:/opt/AIL/PASTES
- ./indexdir:/opt/AIL/indexdir
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
working_dir: /opt/AIL/bin
script-keys:
@ -321,7 +323,7 @@ services:
- ./PASTES/:/opt/AIL/PASTES
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
working_dir: /opt/AIL/bin
script-liblinjection:
script-libinjection:
depends_on:
- redis-log
entrypoint: