こわくないConsul
事前に、ワークショップ用のサンプルプロジェクトをチェックアウトし、VMの作成だけしておきましょう。 --no-provision
でお願いします!
#!/bin/bash | |
HOSTNAME="localhost" | |
PORT=${PORT-4000} | |
NODE="app_$PORT" | |
if [ -z "$COOKIE" ] | |
then | |
COOKIE=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
fi |
更新: | 2021-05-23 |
---|---|
作者: | @voluntas |
バージョン: | 2021.1 |
URL: | https://voluntas.github.io/ |