mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
Add indexdir volume to docker-compose
Make the indexdir data persistent and shared with Flask for searching pastes.
This commit is contained in:
parent
85d2ea578c
commit
9279f56048
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue