<%# Copyright 2013-2026 the original author or authors from the JHipster project. This file is part of the JHipster project, see https://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use it except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -%> # Development environment variables # Do NOT commit this file to version control # Server SERVER_PORT=<%= serverPort %> <%_ if (enableGrpc) { _%> GRPC_SERVER_PORT=<%= grpcPort %> <%_ } _%> <%_ if (databaseTypeMongodb) { _%> # MongoDB SPRING_DATA_MONGODB_URI=mongodb://localhost:27017/<%= baseName %> <%_ } else if (databaseTypeSql && reactive && devR2dbcUrl) { _%> # Database (R2DBC) SPRING_R2DBC_URL=<%- devR2dbcUrl %> SPRING_R2DBC_USERNAME=<%- devDatabaseUsername || baseName %> SPRING_R2DBC_PASSWORD=<%- devDatabasePassword || '' %> <%_ } else if (databaseTypeSql && !reactive && devJdbcUrl) { _%> # Database (JDBC) SPRING_DATASOURCE_URL=<%- devJdbcUrl %> SPRING_DATASOURCE_USERNAME=<%- devDatabaseUsername || baseName %> SPRING_DATASOURCE_PASSWORD=<%- devDatabasePassword || '' %> <%_ } _%> <%_ if (cacheProviderRedis) { _%> # Redis cache (set JHIPSTER_CACHE_REDIS_CLUSTER=true for cluster mode) JHIPSTER_CACHE_REDIS_SERVER=redis://localhost:6379 JHIPSTER_CACHE_REDIS_CLUSTER=false <%_ } _%>