Skip to content

Commit

Permalink
Merge pull request #22 from ssciolla/asc-30-more-config
Browse files Browse the repository at this point in the history
Add admin password to configuration (ASC-30)
  • Loading branch information
ssciolla authored Aug 31, 2023
2 parents 6306fca + 0121fed commit bcf7e3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
AppConfig[:indexer_log] = "/archivesspace/logs/archivesspace.out"
AppConfig[:indexer_log_level] = "warn"

AppConfig[:default_admin_password] = ENV["DEFAULT_ADMIN_PASSWORD"]

AppConfig[:allow_user_registration] = false
AppConfig[:plugins] << "aspace-oauth"
oidc_issuer = ENV["OIDC_ISSUER"]
Expand Down
3 changes: 3 additions & 0 deletions app/env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
HOST_URL=http://localhost
DB_URL=jdbc:mysql://db:3306/archivesspace?user=as&password=as123&useUnicode=true&characterEncoding=UTF-8&connectionCollation=utf8mb4_general_ci
SOLR_URL=http://solr:8983/solr/archivesspace
# With deployments, use a secure unpredictable secret for DEFAULT_ADMIN_PASSWORD
DEFAULT_ADMIN_PASSWORD=admin_pw

# PUBLIC_URL should be your FQDN in deployments; this is used for the OIDC callback URL
PUBLIC_URL=http://localhost:8080
OIDC_ISSUER=
Expand Down

0 comments on commit bcf7e3c

Please sign in to comment.