Skip to content

Commit

Permalink
Config param
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyfrs committed May 18, 2024
1 parent ff56766 commit d8276ba
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
app:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
workflow_dispatch:

jobs:
provisioning:
provision:
runs-on: ubuntu-latest
defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM maven:3.9.5-amazoncorretto-17 as maven
FROM maven:3.9.6-eclipse-temurin-17 as maven

WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
image: postgres:15.4
container_name: orders_db
volumes:
- stock_db:/var/lib/postgresql/data
- orders_db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=orders
- POSTGRES_USER=selforder
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -398,5 +398,4 @@
</plugin>
</plugins>
</build>

</project>
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
spring:
application:
name: order-api
name: orders-api
datasource:
url: jdbc:postgresql://${DB_ENDPOINT}/${DB_NAME}
username: ${DB_USERNAME}
Expand Down
2 changes: 1 addition & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variable "region" {
type = string
type = string
default = "us-east-1"
}

Expand Down

0 comments on commit d8276ba

Please sign in to comment.