Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change demo default database to h2 #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ if [[ -n "$APOLLO_PORTAL_DB_PASSWORD" ]]; then
fi

# database platform
spring_profiles_group_github=${SPRING_PFOILES_GROUP_GITHUB:-mysql}
spring_profiles_group_github=${SPRING_PROFILES_GROUP_GITHUB:-h2}

# apollo config db info
apollo_config_db_url=${APOLLO_CONFIG_DB_URL:-"jdbc:mysql://localhost:3306/ApolloConfigDB?characterEncoding=utf8&serverTimezone=Asia/Shanghai"}
apollo_config_db_username=${APOLLO_CONFIG_DB_USERNAME:-root}
apollo_config_db_url=${APOLLO_CONFIG_DB_URL:-"jdbc:h2:mem:testdb;mode=mysql;DATABASE_TO_UPPER=FALSE;BUILTIN_ALIAS_OVERRIDE=TRUE;"}
apollo_config_db_username=${APOLLO_CONFIG_DB_USERNAME:-sa}
apollo_config_db_password=${APOLLO_CONFIG_DB_PASSWORD:-}

# apollo portal db info
apollo_portal_db_url=${APOLLO_PORTAL_DB_URL:-"jdbc:mysql://localhost:3306/ApolloPortalDB?characterEncoding=utf8&serverTimezone=Asia/Shanghai"}
apollo_portal_db_username=${APOLLO_PORTAL_DB_USERNAME:-root}
apollo_portal_db_url=${APOLLO_PORTAL_DB_URL:-"jdbc:h2:mem:testdb;mode=mysql;DATABASE_TO_UPPER=FALSE;BUILTIN_ALIAS_OVERRIDE=TRUE;"}
apollo_portal_db_username=${APOLLO_PORTAL_DB_USERNAME:-sa}
apollo_portal_db_password=${APOLLO_PORTAL_DB_PASSWORD:-}

# =============== Please do not modify the following content =============== #
Expand Down