diff --git a/app/lib/dockerCompose.ts b/app/lib/dockerCompose.ts index d96be7d..f42cd08 100644 --- a/app/lib/dockerCompose.ts +++ b/app/lib/dockerCompose.ts @@ -30,6 +30,7 @@ ${deployments volumes: - "specify${deployment.schemaVersion}:/opt/Specify:ro" - "${deployment.hostname}-static-files:/volumes/static-files" + - "./config/local_specify_settings.py:/opt/specify7/settings/local_specify_settings.py:ro" environment: - DATABASE_NAME=${deployment.database} - DATABASE_HOST=${process.env.MYSQL_HOST} diff --git a/config/local_specify_settings.py b/config/local_specify_settings.py new file mode 100644 index 0000000..ac6d555 --- /dev/null +++ b/config/local_specify_settings.py @@ -0,0 +1,10 @@ +OAUTH_LOGIN_PROVIDERS = { + # A working Phantauth config for test purposes only. + 'phantauth': { + 'title': "Phantauth", + 'config': "https://phantauth.net", + 'scope': "openid profile email", + 'client_id': "latlux~mqs8zoig_5e", + 'client_secret': "82yHd4XA", + }, +}