-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from featurehub-io/feature/mariadb-vs-mysql
MariaDB vs MySQL Split
- Loading branch information
Showing
7 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
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. |
4 changes: 4 additions & 0 deletions
4
docker-compose-options/all-in-one-mariadb/app-config/application.properties
This file contains 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
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
29
docker-compose-options/all-in-one-mariadb/docker-compose.yaml
This file contains 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
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: |
This file contains 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
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. |
This file contains 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
This file contains 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
This file contains 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