Skip to content

Commit

Permalink
Merge pull request #41 from featurehub-io/feature/mariadb-vs-mysql
Browse files Browse the repository at this point in the history
MariaDB vs MySQL Split
  • Loading branch information
IrinaSouth authored Jul 2, 2022
2 parents 5f24088 + 7c2de83 commit b480c92
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 11 deletions.
10 changes: 10 additions & 0 deletions docker-compose-options/all-in-one-mariadb/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
= MySQL/MariaDB All-In-One - Low Volume Option

This is an example of the https://docs.featurehub.io/featurehub/latest/installation.html#_option_1a_low_volume_deployment_streaming[low volume option] talking to a MariaDB database. Most Cloud providers allow you to
deploy single containers and this will let you do that.
Beware that because all Edge traffic routes to the same container as your FeatureHub Admin UI application, excess Edge
traffic will cause performance issues with FeatureHub Admin UI application.
Please note that MariaDB is a tier-2 "support" option. We test against Postgres and H2 on a day-to-day basis and
rely on the user community for failure feedback. The drivers included are MariaDB drivers.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
db.url=jdbc:mariadb://db:3306/featurehub
db.username=featurehub
db.password=featurehub
jersey.cors.headers=X-Requested-With,Authorization,Content-type,Accept-Version,Content-MD5,CSRF-Token,x-ijt,cache-control,x-featurehub,Baggage
29 changes: 29 additions & 0 deletions docker-compose-options/all-in-one-mariadb/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3.1'

services:
db:
image: mariadb:10.5.16-focal
restart: always
environment:
MYSQL_DATABASE: featurehub
MYSQL_USER: featurehub
MYSQL_PASSWORD: featurehub
MYSQL_ROOT_PASSWORD: mypassword
volumes:
- featurehub-mysql-db:/var/lib/mysql
ports:
- 3324:3306

party-server:
image: featurehub/party-server:1.5.8
restart: always
user: 999:999
volumes:
- ./app-config:/etc/app-config
ports:
- 8085:8085
depends_on:
- "db"

volumes:
featurehub-mysql-db:
4 changes: 2 additions & 2 deletions docker-compose-options/all-in-one-mysql/README.adoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
= MySQL/MariaDB All-In-One - Low Volume Option

This is an example of the https://docs.featurehub.io/featurehub/latest/installation.html#_option_1a_low_volume_deployment_streaming[low volume option] talking to a MySQL/MariaDB database. Most Cloud providers allow you to
This is an example of the https://docs.featurehub.io/featurehub/latest/installation.html#_option_1a_low_volume_deployment_streaming[low volume option] talking to a MySQL 8 database. Most Cloud providers allow you to
deploy single containers and this will let you do that.
Beware that because all Edge traffic routes to the same container as your Admin application, excess Edge
traffic will cause performance issues with your Admin app.
Please note that MySQL is a tier-2 "support" option. We test against Postgres and H2 on a day-to-day basis and
rely on the user community for failure feedback. The drivers included are MariaDB drivers.
rely on the user community for failure feedback. The drivers included are MySQL drivers.
4 changes: 2 additions & 2 deletions helm/featurehub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v2
name: featurehub
description: FeatureHub Release
type: application
version: 3.0.3
version: 3.0.4
icon: https://feature-hub.io/img/png/favicon.png
appVersion: "1.5.7"
appVersion: "1.5.8"
dependencies:
- name: postgresql
version: 11.0.5
Expand Down
8 changes: 4 additions & 4 deletions helm/featurehub/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# featurehub

![Version: 3.0.3](https://img.shields.io/badge/Version-3.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.7](https://img.shields.io/badge/AppVersion-1.5.7-informational?style=flat-square)
![Version: 3.0.3](https://img.shields.io/badge/Version-3.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.8](https://img.shields.io/badge/AppVersion-1.5.8-informational?style=flat-square)

FeatureHub Release

Expand All @@ -25,7 +25,7 @@ FeatureHub Release
| dacha.extraVolumeMounts | list | `[]` | List of extra mounts to add to Dacha Deployment |
| dacha.extraVolumes | list | `[]` | List of extra volumes to add to Dacha Deployment |
| dacha.image.repository | string | `"featurehub/dacha"` | |
| dacha.image.tag | string | `"1.5.7"` | |
| dacha.image.tag | string | `"1.5.8"` | |
| dacha.imagePullSecrets | list | `[]` | |
| dacha.ingress.annotations | object | `{}` | |
| dacha.ingress.className | string | `""` | |
Expand Down Expand Up @@ -58,7 +58,7 @@ FeatureHub Release
| edge.extraVolumeMounts | list | `[]` | List of extra mounts to add to Edge Deployment |
| edge.extraVolumes | list | `[]` | List of extra volumes to add to Edge Deployment |
| edge.image.repository | string | `"featurehub/edge"` | |
| edge.image.tag | string | `"1.5.7"` | |
| edge.image.tag | string | `"1.5.8"` | |
| edge.imagePullSecrets | list | `[]` | |
| edge.ingress.annotations | object | `{}` | |
| edge.ingress.className | string | `""` | |
Expand Down Expand Up @@ -102,7 +102,7 @@ FeatureHub Release
| managementRepository.extraVolumeMounts | list | `[]` | List of extra mounts to add to Management Repository Deployment |
| managementRepository.extraVolumes | list | `[]` | List of extra volumes to add to Management Repository Deployment |
| managementRepository.image.repository | string | `"featurehub/mr"` | |
| managementRepository.image.tag | string | `"1.5.7"` | |
| managementRepository.image.tag | string | `"1.5.8"` | |
| managementRepository.imagePullSecrets | list | `[]` | |
| managementRepository.ingress.annotations | object | `{}` | |
| managementRepository.ingress.className | string | `""` | |
Expand Down
6 changes: 3 additions & 3 deletions helm/featurehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ managementRepository:

image:
repository: featurehub/mr
tag: 1.5.7
tag: 1.5.8

pullPolicy: IfNotPresent

Expand Down Expand Up @@ -247,7 +247,7 @@ edge:

image:
repository: featurehub/edge
tag: 1.5.7
tag: 1.5.8

pullPolicy: IfNotPresent

Expand Down Expand Up @@ -375,7 +375,7 @@ dacha:

image:
repository: featurehub/dacha
tag: 1.5.7
tag: 1.5.8

pullPolicy: IfNotPresent

Expand Down

0 comments on commit b480c92

Please sign in to comment.