Skip to content

Commit

Permalink
Allow for indexless installs
Browse files Browse the repository at this point in the history
This adds the ARCHIVEMATICA_<service>_SEARCH_ENABLED env var
  • Loading branch information
scollazo committed Feb 6, 2018
1 parent 992448c commit acd373b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ archivematica_src_install_sample_data: "yes"
archivematica_src_install_devtools: "no"
archivematica_src_install_automationtools: "no"
archivematica_src_install_acceptance_tests: "no"
archivematica_src_search_enabled: "yes"

# Define the type of environment: "production" or "development". The latter will deploy some extra stuff to make the development workflow easier.
archivematica_src_environment_type: "production"
Expand Down Expand Up @@ -56,6 +57,7 @@ archivematica_src_am_dashboard_environment:
DJANGO_SETTINGS_MODULE: "settings.production"
ARCHIVEMATICA_DASHBOARD_DASHBOARD_DJANGO_ALLOWED_HOSTS: "*"
ARCHIVEMATICA_DASHBOARD_DASHBOARD_DJANGO_SECRET_KEY: "CHANGE_ME_WITH_A_SECRET_KEY"
ARCHIVEMATICA_DASHBOARD_DASHBOARD_SEARCH_ENABLED: "{{ archivematica_src_search_enabled }}"
# Not mandatory:
ARCHIVEMATICA_DASHBOARD_DASHBOARD_ELASTICSEARCH_SERVER: "127.0.0.1:9200" # Needed by pipeline-es.yml
AM_GUNICORN_BIND: "127.0.0.1:8002"
Expand All @@ -64,11 +66,13 @@ archivematica_src_am_dashboard_environment:
# This list only includes mandatory strings.
archivematica_src_am_mcpserver_environment:
DJANGO_SETTINGS_MODULE: "settings.common"
ARCHIVEMATICA_MCPSERVER_MCPSERVER_SEARCH_ENABLED: "{{ archivematica_src_search_enabled }}"

# Archivematica MCPClient
# This list only includes mandatory strings.
archivematica_src_am_mcpclient_environment:
DJANGO_SETTINGS_MODULE: "settings.common"
ARCHIVEMATICA_MCPCLIENT_MCPCLIENT_SEARCH_ENABLED: "{{ archivematica_src_search_enabled }}"

# Archivematica Storage Service
# This list only includes mandatory strings.
Expand Down

0 comments on commit acd373b

Please sign in to comment.