Skip to content

Commit 7e3da9c

Browse files
author
Alvin Richards
committed
README updates
1 parent 27d6014 commit 7e3da9c

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

mariadb/vote/README.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,17 @@ To start app in production:
5050

5151
The app will be available at http://prod.myapp.com
5252

53-
You can log onto the Aerospike and look at data with aql
53+
You can log onto the MariaDB and look at data
5454

55-
$ docker run -it --rm --net prod aerospike/aerospike-tools aql -h prod_aerospike_1
55+
$ docker run -it --rm mariadb sh -c 'exec mysql -h"172.17.0.3" -P"3306" -uroot -p"foo"'
5656

57-
aql> select * from test.votes
58-
aql> select * from test.summary
57+
MariaDB [(none)]> use test
58+
MariaDB [test]> select * from votes
59+
MariaDB [test]> select * from summary;
5960

6061
## Running demo - Part Two: Scale the DB
61-
62-
$ docker-compose scale aerospike=3
63-
64-
You can look at the cluster topology with
65-
66-
$ docker run -it --rm --net prod aerospike/aerospike-tools asadm -e i -h prod_aerospike_1
67-
62+
!!!! TO BE COMPLETED - NEED TO INTEGRATE MAXSACLE
63+
$ docker-compose scale mariadb=3
6864

6965
# Building the images
7066
If you want to rebuild the images for any reason, you will need to build, push and update the compose files as necessary (since you will push to a new repo)
@@ -76,12 +72,3 @@ If you want to rebuild the images for any reason, you will need to build, push a
7672
$ eval "$(docker-machine env dev)"
7773
$ docker build -t $HUB_USER/demo-webapp-as .
7874
$ docker push $HUB_USER/demo-webapp-as
79-
80-
## Build the aerospike images
81-
82-
$ HUB_USER="my hub user"
83-
84-
$ cd aerospike
85-
$ eval "$(docker-machine env dev)"
86-
$ docker build -t $HUB_USER/aerospike-server .
87-
$ docker push $HUB_USER/aerospike-server

0 commit comments

Comments
 (0)