Skip to content

Commit

Permalink
Ajuste no application.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
tibetteixeira committed May 23, 2024
1 parent 9d42420 commit 2851af2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
- name: Remove docker container
run: docker rm -f minhasfinancas
- name: Run docker container
run: docker run -d -p 8080:8080 -e DATABASE_USERNAME=${{ secrets.DATABASE_USERNAME }} -e DATABASE_PASSWORD='${{ secrets.DATABASE_PASSWORD }}' -e DATABASE_URL=${{ secrets.DATABASE_URL }} --name minhasfinancas ${{ secrets.DOCKER_USERNAME }}/minhasfinancas:latest
run: docker run -d -p 8080:8080 -e DATABASE_USERNAME=${{ secrets.DATABASE_USERNAME }} -e DATABASE_PASSWORD='${{ secrets.DATABASE_PASSWORD }}' -e DATABASE_URL=${{ secrets.DATABASE_URL }} -e JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }} --name minhasfinancas ${{ secrets.DOCKER_USERNAME }}/minhasfinancas:latest
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring.profiles.active=production

server.port=8080
server.servlet.context-path=/minhasfinancas
#server.servlet.context-path=/minhasfinancas
server.error.path=/error
server.error.include-message=always

Expand All @@ -15,7 +15,7 @@ spring.datasource.driver-class-name=org.postgresql.Driver

# Security
security.jwt.expiracao=120
security.jwt.chave-assinatura=peY4tGENAfsIBkGYP7IAXVBPZKyk3MfHwmN3mxAbEZsRgt5AZXTVyMaVyO5QgFGQ
security.jwt.chave-assinatura=${JWT_SECRET_KEY}

# Info
info.app.title=Minhas finan\u00E7as API
Expand Down

0 comments on commit 2851af2

Please sign in to comment.