-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More updates to docker compose deployment
- Loading branch information
1 parent
9bc9848
commit f79de02
Showing
5 changed files
with
173 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,18 @@ | ||
############## | ||
## REQUIRED ## | ||
############## | ||
|
||
# URL | ||
# Make sure to add new env variables to the docs page on the website | ||
URL=http://localhost:3999 | ||
|
||
# Name of your server (shown during the login process) | ||
NAME=Demo Server | ||
|
||
# MongoDB connection | ||
MONGODB_URI=mongodb://127.0.0.1:27017/apolloDb | ||
# Alternatively, can be a path to a file with the URI | ||
# MONGODB_URI_FILE=/run/secrets/mongodb-uri | ||
|
||
# Output folder for uploaded files | ||
FILE_UPLOAD_FOLDER=./test/uploaded | ||
|
||
# Secret used to encode JWT tokens | ||
JWT_SECRET=84b5edd3-6c4e-42f3-9711-2f294c07df19 | ||
# Alternatively, can be a path to a file with the client secret | ||
# JWT_SECRET_FILE=/run/secrets/jwt-secret | ||
|
||
# Secret used to encode express sessions | ||
SESSION_SECRET=g9fGaRuw06T7hs960Tm7KYyfcFaYEIaG9jfFnVEQ4QyFXmq7 | ||
# Alternatively, can be a path to a file with the session secret | ||
# SESSION_SECRET_FILE=/run/secrets/session-secret | ||
|
||
############################################################################## | ||
## To enable users to log in, you need either (or both) Google or Microsoft ## | ||
## OAuth configured. Without them, only userless guest access is possible. ## | ||
############################################################################## | ||
|
||
# Google client id and secret. | ||
GOOGLE_CLIENT_ID=1000521104117-bhd8r4v11cc053g0b80ui00ss9s5fitv.apps.googleusercontent.com | ||
# Alternatively, can be a path to a file with the client ID | ||
# GOOGLE_CLIENT_ID_FILE=/run/secrets/google-client-id | ||
GOOGLE_CLIENT_SECRET=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 | ||
# Alternatively, can be a path to a file with the client secret | ||
# GOOGLE_CLIENT_SECRET_FILE=/run/secrets/google-client-secret | ||
|
||
# Microsoft client id and secret. | ||
MICROSOFT_CLIENT_ID=fabdd045-163c-4712-9d40-dbbb043b3090 | ||
# Alternatively, can be a path to a file with the client ID | ||
# MICROSOFT_CLIENT_ID_FILE=/run/secrets/microsoft-client-id | ||
MICROSOFT_CLIENT_SECRET=~Gr8Q~h6RTU7SMC-fjNxXy_~nabTD-ME_rFyLa.M | ||
# Alternatively, can be a path to a file with the client secret | ||
# MICROSOFT_CLIENT_SECRET_FILE=/run/secrets/microsoft-client-secret | ||
|
||
############## | ||
## OPTIONAL ## | ||
############## | ||
|
||
# Description of what is hosted on your server | ||
DESCRIPTION=A server for Apollo development purposes | ||
|
||
# URL (relative or absolute) of the Apollo JBrowse plugin. | ||
# Defaults to relative URL 'apollo.js' | ||
PLUGIN_LOCATION=http://localhost:9000/dist/jbrowse-plugin-apollo.umd.development.js | ||
FEATURE_TYPE_ONTOLOGY_LOCATION=http://localhost:9000/test_data/so-v3.1.json | ||
|
||
# Application port, defaults to 3999 | ||
# PORT=3999 | ||
|
||
# Enable all CORS requests, defaults to true | ||
# CORS=true | ||
|
||
# Comma-separated list of log levels to output | ||
# Possible values are: error, warn, log, debug, verbose. | ||
# Defaults to error,warn,log | ||
LOG_LEVELS=error,warn,log,debug | ||
|
||
# Reference sequence chunk size, defaults to 262144 (256 KiB) | ||
CHUNK_SIZE=500 | ||
|
||
# Default new user role, possible values are admin, user, readOnly, and none | ||
# Defaults to none | ||
# DEFAULT_NEW_USER_ROLE=none | ||
|
||
# Whether to broadcast users locations, defaults to true | ||
# BROADCAST_USER_LOCATION=true | ||
|
||
# Whether to allow a root user that can log in with a name and password. All | ||
# other users (besides guest) must sign in with an authentication provider. | ||
# Defaults to false | ||
# ALLOW_ROOT_USER=false | ||
# The root user password, required if ALLOW_ROOT_USER is true | ||
# ROOT_USER_PASSWORD=password | ||
# Alternatively, can be a path to a file with the root user password | ||
# ROOT_USER_PASSWORD_FILE=/run/secrets/root-user-password | ||
|
||
# Whether to allow guest users who do not have to log in, defaults to false | ||
ALLOW_ROOT_USER=ftrue | ||
ROOT_USER_PASSWORD=password | ||
ALLOW_GUEST_USER=true | ||
# If guest users are allowed, what role will they have | ||
# Possible values are admin, readOnly and user; defaults to readonly | ||
# GUEST_USER_ROLE=readOnly | ||
|
||
# Comma-separated list of Apollo plugins to use | ||
# PLUGIN_URLS=https://example.com/apollo-plugin-example.umd.production.min.js | ||
# Alternatively, can be a path to a file with a list of plugin URLs, one URL per | ||
# line | ||
# PLUGIN_URLS_FILE=/data/plugin-urls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/website/docs/getting-started/deployment/02-deployment-examples/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"label": "Examples", | ||
"position": 2 | ||
} |
Oops, something went wrong.