mirror of
https://github.com/samply/bridgehead.git
synced 2026-08-13 15:52:37 +02:00
Prepared development environment in dhki project
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
log INFO "DKFZ-Hector setup detected -- will start services for DKFZ-Hector."
|
||||
|
||||
# The environment needs to be defined in /etc/bridgehead
|
||||
case "$ENVIRONMENT" in
|
||||
"production")
|
||||
export BROKER_ID=broker.hector.dkfz.de
|
||||
export DHKI_ROOT_CERT=dhki
|
||||
;;
|
||||
"development")
|
||||
export BROKER_ID=dev-dhki-broker.vms.verbis.dkfz.de
|
||||
export DHKI_ROOT_CERT=dhki.dev
|
||||
;;
|
||||
*)
|
||||
report_error 6 "Environment \"$ENVIRONMENT\" is unknown. Assuming production. FIX THIS!"
|
||||
export BROKER_ID=broker.hector.dkfz.de
|
||||
export DHKI_ROOT_CERT=dhki
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user