Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

Commit

Permalink
Update Gemini config for Islandora/Crayfish#109
Browse files Browse the repository at this point in the history
- Remove crayfish_gemini_fedora_base_url
- Add crayfish_gemini_fedora_domain
- Add crayfish_gemini_drupal_domain
  • Loading branch information
ruebot committed Dec 2, 2020
1 parent 3cb2aa6 commit b3b29c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ crayfish_db_name: gemini
crayfish_db_driver: "{% if crayfish_db == 'mysql' %}pdo_mysql{% elif crayfish_db == 'pgsql' %}pdo_pgsql{% endif %}"
crayfish_db_port: "{% if crayfish_db == 'mysql' %}3306{% elif crayfish_db == 'pgsql' %}5432{% endif %}"

crayfish_fedora_base_url: http://localhost:8080/fcrepo/rest
crayfish_drupal_base_url: http://localhost:8000
crayfish_gemini_base_url: http://localhost:8000/gemini
crayfish_gemini_fedora_domain:
crayfish_gemini_drupal_domain:

# Gemini default config
crayfish_gemini_log_file: /var/log/islandora/gemini.log
Expand Down
6 changes: 5 additions & 1 deletion templates/Gemini.config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

# managed by Ansible

fedora_base_url: {{ crayfish_gemini_fedora_base_url }}
# Leave these blank unless you know what you're doing. If you're moving
# data from one server to another and the domain changes, set these
# to your new domain.
fedora_domain: {{ crayfish_gemini_fedora_domain }}
drupal_domain: {{ crayfish_gemini_drupal_domain }}

debug: {{ crayfish_gemini_debug }}

Expand Down

0 comments on commit b3b29c3

Please sign in to comment.