Skip to content

Commit 8c4d345

Browse files
committed
[db] Add compose file for MySQL 5.7
- OLTPBench broke when using MySQL 8.0 ... so just use 5.7 for now, until we figure out a good way to put them in single compose file - benchhub/forks#2
1 parent 9f50ef4 commit 8c4d345

File tree

8 files changed

+72
-13
lines changed

8 files changed

+72
-13
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[*.md]
2+
indent_style = space
3+
indent_size = 2
4+
max_line_length = off
5+
trim_trailing_whitespace = false
6+
7+
[Makefile]
8+
indent_style = tab

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.PHONY: docker-stop-all-containers
2+
docker-stop-all-containers:
3+
docker stop $(docker ps -a -q)
4+
5+
.PHONY: docker-remove-all-containers
6+
docker-remove-all-containers:
7+
docker rm $(docker ps -a -q)

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ TSDB
3737
- [ ] KairosDB
3838
- [ ] OpenTSDB
3939

40+
Hybrid?
41+
42+
- [ ] SAP HANA (can download the express edition)
43+
- [ ] register and got a download manager ...
44+
- https://www.sap.com/developer/tutorials/hxe-ua-install-using-docker.html seems to have docker ...
45+
- https://github.com/SAP/go-hdb even go library
46+
4047
### Benchmark frameworks
4148

4249
- [ ] TPC-X series

iaas/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ https://github.com/kubernetes-incubator/kubespray
88

99
Packet
1010

11-
https://help.packet.net/solutions/platforms/kubernetes
11+
https://help.packet.net/solutions/platforms/kubernetes
12+
13+
Rackspace (also has bare metal cloud, saw it from ScyllaDB's benchmark result)
14+
15+
https://www.rackspace.com/en-us/cloud/servers/onmetal

rdbms/docker-compose.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

rdbms/mysql/docker-compose.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# docker-compose up
2+
# docker-compose down
3+
version: '3'
4+
services:
5+
# https://hub.docker.com/_/mysql/
6+
mysql:
7+
# image: "mysql:8.0"
8+
image: "mysql:5.7"
9+
environment:
10+
- MYSQL_ROOT_PASSWORD=mysqlpassword
11+
# TODO: it seems the user is just root...
12+
ports:
13+
# NOTE: need to remove local mysql https://askubuntu.com/questions/172514/how-do-i-uninstall-mysql
14+
- "3306:3306" # guest host
15+
# TODO: GUI, it suggests using adminer
16+
# TODO: does adminer support set envinroment to use default database?
17+
# host: mysql (not localhost!!!)
18+
adminer:
19+
image: "adminer"
20+
ports:
21+
- "8080:8080"

rdbms/percona/docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
version: '3'
2+
services:
3+
# https://hub.docker.com/_/percona/
4+
percona:
5+
image: "percona:5.7"

rdbms/pg/docker-compose.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# docker-compose up
2+
version: '3'
3+
services:
4+
pg:
5+
image: "postgres:10.1"
6+
environment:
7+
- POSTGRES_PASSWORD=pgpassword
8+
- POSTGRES_USER=pguser
9+
# TODO: anyway to configure root password, I recall pg is more secure than mysql by default
10+
ports:
11+
- "5432:5432" # guest host
12+
# TODO: graph admin?
13+
# https://github.com/sosedoff/pgweb
14+
# FIXME: it is using CMD instead of entrypoint, so we can't pass pg config
15+
# https://github.com/sosedoff/pgweb/blob/master/Dockerfile
16+
adminer:
17+
image: "adminer"
18+
ports:
19+
- "8080:8080"

0 commit comments

Comments
 (0)