From 9279f560483ab376d89c4d47647f0c7a913f4440 Mon Sep 17 00:00:00 2001 From: Jason Hedden Date: Wed, 13 Mar 2019 17:05:54 -0500 Subject: [PATCH] Add indexdir volume to docker-compose Make the indexdir data persistent and shared with Flask for searching pastes. --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 98526a76..fc7f2a91 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: