-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Upgrade to alpine linux - Update dockerignore - bash --> sh (for alpine)
- Loading branch information
Showing
9 changed files
with
134 additions
and
122 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/sh -e | ||
|
||
export HOST_IP="${HOST_IP:-$(/sbin/ip route|awk '/default/ { print $3 }')}" | ||
export ETCD_HOST="${ETCD_HOST:-$HOST_IP}" | ||
export ETCD_PORT="${ETCD_PORT:-4001}" | ||
export ETCD_URL="${ETCD_URL:-http://$ETCD_HOST:$ETCD_PORT}" | ||
export ETCDCTL="${ETCDCTL:-etcdctl --peers $ETCD_URL}" | ||
export TOTEM_ENV="${TOTEM_ENV:-local}" | ||
export ETCD_TOTEM_BASE="${ETCD_TOTEM_BASE:-/totem}" | ||
export ETCD_YODA_BASE="${ETCD_YODA_BASE:-/yoda}" | ||
export CELERY_GEVENT_EXECUTORS="${CELERY_GEVENT_EXECUTORS:-1}" | ||
export CELERY_GEVENT_CONCURRENCY="${CELERY_GEVENT_CONCURRENCY:-50}" | ||
export CELERY_PREFORK_CONCURRENCY="${CELERY_PREFORK_CONCURRENCY:-2}" | ||
export API_EXECUTORS="${API_EXECUTORS:-2}" | ||
export C_FORCE_ROOT="${C_FORCE_ROOT:-true}" | ||
export SSH_HOST_KEY="${SSH_HOST_KEY:-/root/.ssh/id_rsa}" | ||
export AMQP_HOST="${AMQP_HOST:-$HOST_IP}" | ||
export AMQP_PORT="${AMQP_PORT:-5672}" | ||
export AMQP_USERNAME="${AMQP_USERNAME:-guest}" | ||
export AMQP_PASSWORD="${AMQP_PASSWORD:-guest}" | ||
export MONGODB_USERNAME="${MONGODB_USERNAME:-}" | ||
export MONGODB_PASSWORD="${MONGODB_PASSWORD:-}" | ||
export MONGODB_SERVERS="${MONGODB_SERVERS:-}" | ||
export MONGODB_HOST="${MONGODB_HOST:-$HOST_IP}" | ||
export MONGODB_PORT="${MONGODB_PORT:-27017}" | ||
export MONGODB_DB="${MONGODB_DB}" | ||
export MONGODB_AUTH_DB="${MONGODB_AUTH_DB}" | ||
export BROKER_URL="${BROKER_URL}" | ||
export SSH_PASSPHRASE="${SSH_PASSPHRASE}" | ||
export GITHUB_TOKEN="${GITHUB_TOKEN}" | ||
export FLEET_HOST="${FLEET_HOST:-$HOST_IP}" | ||
export CLUSTER_NAME="${CLUSTER_NAME:-local}" | ||
export QUAY_ORGANIZATION="${QUAY_ORGANIZATION:-totem}" | ||
export QUAY_PREFIX="${QUAY_PREFIX:-totem-}" | ||
export C_FORCE_ROOT=true | ||
export ENCRYPTION_PASSPHRASE="${ENCRYPTION_PASSPHRASE:-changeit}" | ||
export ENCRYPTION_S3_BUCKET="${ENCRYPTION_S3_BUCKET:-not-set}" | ||
export ENCRYPTION_STORE="${ENCRYPTION_PROVIDER:-s3}" | ||
export HIPCHAT_TOKEN="${HIPCHAT_TOKEN}" | ||
export HIPCHAT_ENABLED="${HIPCHAT_ENABLED:-false}" | ||
export HIPCHAT_TOKEN="${HIPCHAT_TOKEN}" | ||
export HIPCHAT_ROOM="${HIPCHAT_ROOM:-not-set}" | ||
export GITHUB_NOTIFICATION_ENABLED="${GITHUB_NOTIFICATION_ENABLED:-false}" | ||
export BASE_URL="${BASE_URL:-http://$HOST_IP:9000}" | ||
export LOG_IDENTIFIER="${LOG_IDENTIFIER:-cluster-deployer}" | ||
export LOG_ROOT_LEVEL="${LOG_ROOT_LEVEL}" |
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
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