Skip to content

Commit

Permalink
🔧 paths
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelProgrammer committed Sep 21, 2024
1 parent bf32676 commit fd440fb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Compiled class file
*.class

!env
/env/
/env

aws/
aws
app-key2.pem

# Log file
Expand Down
3 changes: 3 additions & 0 deletions env/app.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPRING_DATA_SOURCE_URL=jdbc:postgresql://db:5432/food
SPRING_DATA_SOURCE_USERNAME=postgres
SPRING_DATA_SOURCE_PASSWORD=postgresql
7 changes: 7 additions & 0 deletions env/postgres.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SPRING_PROFILES_ACTIVE=prod
POSTGRES_DB=food
POSTGRES_URL=jdbc:postgresql://db:5432/food
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgresql
PGDATA=/var/lib/postgresql/data/pgdata
SPRING_JPA_HIBERNATE_DDL_AUTO=create-drop

0 comments on commit fd440fb

Please sign in to comment.