-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update environment configuration and enhance password validation in a…
…uthentication forms
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 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 |
---|---|---|
@@ -1,15 +1,21 @@ | ||
NEXT_PUBLIC_COMMERCIFY_API_URL=http://localhost:8080/api/v1 | ||
NODE_ENV=development | ||
|
||
# MySQL Configuration | ||
MYSQL_ROOT_PASSWORD=Password1234! | ||
MYSQL_USER=commercify | ||
MYSQL_PASSWORD=c0mmercifypassw0rd123! | ||
NEXT_PUBLIC_COMMERCIFY_API_URL=https://domain.com:6091/api/v1 | ||
NEXT_PUBLIC_DEV_COMMERCIFY_API_URL=http://localhost:6091/api/v1 | ||
SMTP_HOST=smtp.ethereal.email | ||
SMTP_PORT=587 | ||
SMTP_USER= | ||
SMTP_PASSWORD= | ||
EMAIL_DEV=[email protected] | ||
|
||
# Spring Boot Application Configuration | ||
SPRING_DATASOURCE_URL=jdbc:mysql://mysql-db:3306/commercifydb | ||
# Backend Configuration | ||
# use "host.docker.internal" as host if you are connecting to a MySQL database running on the host machine | ||
SPRING_DATASOURCE_URL=jdbc:mysql://localhost:3306/commercifydb?createDatabaseIfNotExist=true | ||
SPRING_DATASOURCE_USERNAME=root | ||
SPRING_DATASOURCE_PASSWORD=Password1234! | ||
STRIPE_TEST_SECRET=sk_test_ | ||
STRIPE_SECRET_WEBHOOK=whsec_ | ||
STRIPE_WEBHOOK_ENDPOINT=we_ | ||
JWT_SECRET_KEY=7581e8477a88733917bc3b48f683a876935a492a0bd976a59429a2f28c71fde | ||
ADMIN_EMAIL=[email protected] | ||
ADMIN_PASSWORD=commercifyadmin123! # min 8 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