mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +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:
|
volumes:
|
||||||
- ./CRAWLED_SCREENSHOT/:/opt/AIL/CRAWLED_SCREENSHOT
|
- ./CRAWLED_SCREENSHOT/:/opt/AIL/CRAWLED_SCREENSHOT
|
||||||
- ./PASTES/:/opt/AIL/PASTES
|
- ./PASTES/:/opt/AIL/PASTES
|
||||||
|
- ./indexdir:/opt/AIL/indexdir
|
||||||
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
|
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
|
||||||
working_dir: /opt/AIL/var/www
|
working_dir: /opt/AIL/var/www
|
||||||
log-queue:
|
log-queue:
|
||||||
|
@ -308,6 +309,7 @@ services:
|
||||||
image: ail-framework
|
image: ail-framework
|
||||||
volumes:
|
volumes:
|
||||||
- ./PASTES/:/opt/AIL/PASTES
|
- ./PASTES/:/opt/AIL/PASTES
|
||||||
|
- ./indexdir:/opt/AIL/indexdir
|
||||||
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
|
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
|
||||||
working_dir: /opt/AIL/bin
|
working_dir: /opt/AIL/bin
|
||||||
script-keys:
|
script-keys:
|
||||||
|
@ -321,7 +323,7 @@ services:
|
||||||
- ./PASTES/:/opt/AIL/PASTES
|
- ./PASTES/:/opt/AIL/PASTES
|
||||||
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
|
- ./bin/packages/config.cfg:/opt/AIL/bin/packages/config.cfg:ro
|
||||||
working_dir: /opt/AIL/bin
|
working_dir: /opt/AIL/bin
|
||||||
script-liblinjection:
|
script-libinjection:
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis-log
|
- redis-log
|
||||||
entrypoint:
|
entrypoint:
|
||||||
|
|
Loading…
Reference in a new issue