Skip to content

Commit

Permalink
chore: update postgres docker to 16 (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBrucksch authored Nov 30, 2023
1 parent 70690a1 commit 22f0aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions postgres/lib/PostgresService.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ GROUP BY k
DROP USER IF EXISTS "${creds.user}";
CREATE GROUP "${creds.usergroup}";
CREATE USER "${creds.user}" WITH CREATEROLE IN GROUP "${creds.usergroup}" PASSWORD '${creds.user}';
GRANT "${creds.usergroup}" TO "${creds.user}" WITH ADMIN OPTION;
`)
await this.exec(`CREATE DATABASE "${creds.database}" OWNER="${creds.user}" TEMPLATE=template0`)
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion postgres/pg-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.1'

services:
db:
image: postgres:15-alpine
image: postgres:16-alpine
restart: always
environment:
POSTGRES_PASSWORD: postgres
Expand Down

0 comments on commit 22f0aea

Please sign in to comment.