This file contains hidden or 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
IP="$(boot2docker ip 2>/dev/null)" |
This file contains hidden or 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
docker run --name etcd \ | |
--publish 4001:4001 \ | |
--publish 7001:7001 \ | |
--detach \ | |
coreos/etcd:latest \ | |
/go/bin/app -listen-client-urls http://0.0.0.0:4001 \ | |
-advertise-client-urls http://$IP:4001 \ | |
-listen-peer-urls http://0.0.0.0:7001 \ | |
-initial-advertise-peer-urls http://$IP:7001 \ | |
-data-dir=/tmp/etcd |
This file contains hidden or 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
docker run --name deis-store-daemon \ | |
--volumes-from=deis-store-daemon-data \ | |
--env HOST=$IP \ | |
--publish 6800 \ | |
--net host \ | |
--detach \ | |
deis/store-daemon:latest |
This file contains hidden or 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
docker run --rm \ | |
coreos/etcd \ | |
/bin/sh -c "cd /go/src/github.com/coreos/etcd/etcdctl; \ | |
go install ; \ | |
/go/bin/etcdctl --peers $IP:4001 \ | |
set /deis/store/hosts/$IP $IP" |
This file contains hidden or 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
docker run --name deis-store-monitor \ | |
--env HOST=$IP \ | |
--publish 6789 \ | |
--net host \ | |
--detach \ | |
deis/store-monitor:latest |
This file contains hidden or 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
docker run --name deis-store-gateway \ | |
--hostname deis-store-gateway \ | |
--env HOST=$IP \ | |
--env EXTERNAL_PORT=8888 \ | |
--publish 8888:8888 \ | |
--detach \ | |
deis/store-gateway:latest |
This file contains hidden or 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
AWS_ACCESS_KEY_ID=$(docker run --rm coreos/etcd /bin/sh -c "cd /go/src/github.com/coreos/etcd/etcdctl; go install ; /go/bin/etcdctl --peers $IP:4001 get /deis/store/gateway/accessKey") | |
AWS_SECRET_ACCESS_KEY=$(docker run --rm coreos/etcd /bin/sh -c "cd /go/src/github.com/coreos/etcd/etcdctl; go install ; /go/bin/etcdctl --peers $IP:4001 get /deis/store/gateway/secretKey") | |
AWS_S3_HOST=$(docker run --rm coreos/etcd /bin/sh -c "cd /go/src/github.com/coreos/etcd/etcdctl; go install ; /go/bin/etcdctl --peers $IP:4001 get /deis/store/gateway/host") | |
AWS_S3_PORT=$(docker run --rm coreos/etcd /bin/sh -c "cd /go/src/github.com/coreos/etcd/etcdctl; go install ; /go/bin/etcdctl --peers $IP:4001 get /deis/store/gateway/port") |
This file contains hidden or 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
wget https://johnlewis.ie/getnflash_johnlewis_rom.sh | |
chmod u+x getnflash_johnlewis_rom.sh | |
./getnflash_johnlewis_rom.sh |
This file contains hidden or 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
[[local|localrc]] | |
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50 | |
ADMIN_PASSWORD=nomoresecrets | |
MYSQL_PASSWORD=iheartdatabases | |
RABBIT_PASSWORD=flopsymopsy | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
#HOST_IP=10.0.0.106 | |
DEST=/opt/stack | |
LOGFILE=$DEST/logs/stack.sh.log |
This file contains hidden or 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
:openstack: | |
:openstack_auth_url: http://10.0.0.106:5000/v2.0/tokens | |
:openstack_api_key: nomoresecrets | |
:openstack_username: admin | |
:openstack_tenant: admin | |
:openstack_region: RegionOne # Optional | |