fi
psql postgres -c "ALTER USER arvados WITH SUPERUSER;"
-if ! test -s $ARVADOS_CONTAINER_PATH/workbench_secret_token ; then
- ruby -e 'puts rand(2**400).to_s(36)' > $ARVADOS_CONTAINER_PATH/workbench_secret_token
-fi
-workbench_secret_key_base=$(cat $ARVADOS_CONTAINER_PATH/workbench_secret_token)
-
if test -s $ARVADOS_CONTAINER_PATH/api_rails_env ; then
database_env=$(cat $ARVADOS_CONTAINER_PATH/api_rails_env)
else
InternalURLs:
"http://localhost:${services[api]}": {}
Workbench1:
- ExternalURL: "https://$localip:${services[workbench]}"
+ ExternalURL: "https://$localip:${services[workbench2-ssl]}"
Workbench2:
ExternalURL: "https://$localip:${services[workbench2-ssl]}"
Keepproxy:
InternalURLs:
"http://localhost:${services[keep-web]}/": {}
ExternalURL: "https://$localip:${services[keep-web-dl-ssl]}/"
- Composer:
- ExternalURL: "https://$localip:${services[composer]}"
Controller:
ExternalURL: "https://$localip:${services[controller-ssl]}"
InternalURLs:
BlobSigningKey: $blob_signing_key
DefaultReplication: 1
TrustAllContent: true
+ Containers:
+ RuntimeEngine: singularity
Login:
Test:
Enable: true
AutoSetupNewUsers: true
AutoSetupNewUsersWithVmUUID: $vm_uuid
AutoSetupNewUsersWithRepository: true
- Workbench:
- SecretKeyBase: $workbench_secret_key_base
- ArvadosDocsite: http://$localip:${services[doc]}/
Git:
GitCommand: /usr/share/gitolite3/gitolite-shell
GitoliteHome: $ARVADOS_CONTAINER_PATH/git
$ARVADOS_CONTAINER_PATH/management_token \
$ARVADOS_CONTAINER_PATH/system_root_token \
$ARVADOS_CONTAINER_PATH/api_database_pw \
- $ARVADOS_CONTAINER_PATH/workbench_secret_token \
$ARVADOS_CONTAINER_PATH/superuser_token \
set -e