Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to Postgres 15 docker image #377

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Start the PostgreSQL database and [Adminer](https://www.adminer.org/) using:
npm run docker:start:pg
```

It will use the latest available PostgreSQL Docker container. If you want to test with PostgreSQL 11 then run:
It will use the latest available PostgreSQL Docker container. If you want to test with PostgreSQL 15 then run:

```
npm run docker:start:pg:11
npm run docker:start:pg:15
```

Now deploy the database schema using [cds-dbm](https://github.com/mikezaschka/cds-dbm) with the command:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"update:app": "cd app && npm update",
"test": "jest",
"docker:start:pg": "docker-compose -f stack.yml up -d",
"docker:start:pg:11": "docker-compose -f stack-pg-11.yml up -d",
"docker:start:pg:15": "docker-compose -f stack-pg-15.yml up -d",
"deploy:pg": "cds deploy --profile pg",
"deploy:pg:model-only": "cds deploy --profile pg --model-only",
"deploy:pg:data:delta": "cds deploy --profile pg --model-only",
Expand All @@ -29,7 +29,7 @@
"start:issue": "run-s deploy:pg start:cds",
"start:cds": "cds run",
"docker:stop:pg": "docker-compose -f stack.yml down",
"docker:stop:pg:11": "docker-compose -f stack-pg-11.yml down",
"docker:stop:pg:15": "docker-compose -f stack-pg-15.yml down",
"bind:uaa": "cds bind uaa --to pg-beershop-uaa --kind xsuaa --profile hybrid",
"build": "cds build --production",
"build:db": "./pg-build.sh",
Expand Down
2 changes: 1 addition & 1 deletion stack-pg-11.yml → stack-pg-15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '3.1'
services:

beershopdb:
image: postgres:11-alpine
image: postgres:15-alpine
restart: always
environment:
POSTGRES_PASSWORD: postgres
Expand Down