Skip to content

Commit

Permalink
added file .env for developers
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladik-gif committed Nov 21, 2024
1 parent 1da3bcf commit 27965e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ build/
### VS Code ###
.vscode/

logs/*
logs/*
.env
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Spring Profile:
spring.profiles.active=prod

spring.config.import=optional:file:.env[.properties]

#Server port:
server.port=${PORT:8080}

Expand Down

0 comments on commit 27965e7

Please sign in to comment.