Skip to content

Commit 5624030

Browse files
authored
chore: Revert postgres upgrade (#632)
1 parent 5da3143 commit 5624030

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.azure/modules/postgreSql/create.bicep

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ var databaseName = 'dialogporten'
2525
// //wal_level: 'logical'
2626
// //max_worker_processes: '16'
2727

28-
// // The leading theory is that we are using pgoutput as the replication protocol
29-
// // which comes out of the box in postgresql. Therefore we may not need the
28+
// // The leading theory is that we are using pgoutput as the replication protocol
29+
// // which comes out of the box in postgresql. Therefore we may not need the
3030
// // following two lines.
3131
// //'azure.extensions': 'pglogical'
3232
// //shared_preload_libraries: 'pglogical'
@@ -42,11 +42,11 @@ module saveAdmPassword '../keyvault/upsertSecret.bicep' = {
4242
}
4343
}
4444

45-
resource postgres 'Microsoft.DBforPostgreSQL/flexibleServers@2023-06-01-preview' = {
45+
resource postgres 'Microsoft.DBforPostgreSQL/flexibleServers@2022-12-01' = {
4646
name: '${namePrefix}-postgres'
4747
location: location
4848
properties: {
49-
version: '16'
49+
version: '15'
5050
administratorLogin: administratorLogin
5151
administratorLoginPassword: administratorLoginPassword
5252
storage: { storageSizeGB: 32 }

docker-compose-no-webapi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.9'
22

33
services:
44
dialogporten-postgres:
5-
image: postgres:16.2
5+
image: postgres:15.4
66
restart: always
77
command: postgres -c wal_level=logical
88
environment:

0 commit comments

Comments
 (0)