Skip to content

Commit

Permalink
chore(deps): update postgres docker tag to v17 (#845)
Browse files Browse the repository at this point in the history
* chore(deps): update postgres docker tag to v17

* Update to latest version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Raja Kolli <[email protected]>
  • Loading branch information
renovate[bot] and rajadilipkolli authored Sep 30, 2024
1 parent f31fabe commit 8d9d1ac
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion catalog-service/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresql:
image: postgres:16-alpine
image: postgres:17-alpine
container_name: postgresql
extra_hosts: ['host.docker.internal:host-gateway']
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GenericContainer<?> zipkinContainer() {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSqlContainer() {
return new PostgreSQLContainer<>("postgres:16-alpine").withReuse(true);
return new PostgreSQLContainer<>("postgres:17-alpine").withReuse(true);
}

@Bean
Expand Down
2 changes: 1 addition & 1 deletion deployment/docker-compose-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:

postgresql:
container_name: postgresql
image: postgres:16-alpine
image: postgres:17-alpine
extra_hosts: [ 'host.docker.internal:host-gateway' ]
environment:
- POSTGRES_USER=appuser
Expand Down
2 changes: 1 addition & 1 deletion deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:

postgresql:
container_name: postgresql
image: postgres:16-alpine
image: postgres:17-alpine
extra_hosts: [ 'host.docker.internal:host-gateway' ]
environment:
- POSTGRES_USER=appuser
Expand Down
2 changes: 1 addition & 1 deletion inventory-service/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresql:
image: postgres:16-alpine
image: postgres:17-alpine
environment:
- POSTGRES_USER=appuser
- POSTGRES_PASSWORD=secret
Expand Down
2 changes: 1 addition & 1 deletion inventory-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
<configuration>
<database>
<type>POSTGRES</type>
<containerImage>postgres:16-alpine</containerImage>
<containerImage>postgres:17-alpine</containerImage>
<username>test</username>
<password>test</password>
<databaseName>test</databaseName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ContainersConfig {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16-alpine"))
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:17-alpine"))
.withReuse(true);
}
}
2 changes: 1 addition & 1 deletion order-service/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresql:
image: postgres:16-alpine
image: postgres:17-alpine
container_name: postgresql
extra_hosts: [ 'host.docker.internal:host-gateway' ]
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public interface PostGreSQLContainer {

@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer =
new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16-alpine"))
new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17-alpine"))
.withReuse(true);
}
2 changes: 1 addition & 1 deletion payment-service/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:

postgresql:
container_name: postgresql
image: postgres:16-alpine
image: postgres:17-alpine
environment:
- POSTGRES_USER=appuser
- POSTGRES_PASSWORD=secret
Expand Down
2 changes: 1 addition & 1 deletion payment-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
<configuration>
<database>
<type>POSTGRES</type>
<containerImage>postgres:16-alpine</containerImage>
<containerImage>postgres:17-alpine</containerImage>
<username>test</username>
<password>test</password>
<databaseName>test</databaseName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class TestPaymentApplication {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16-alpine"))
return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17-alpine"))
.withReuse(true);
}

Expand Down

0 comments on commit 8d9d1ac

Please sign in to comment.