Skip to content

Commit 8fde354

Browse files
asmarovydlodimitriyTsemmaalexanderM91
authored
FRW-1633 Added support of PostgreSQL v17. (#515)
* FRW-1633 Added postgres 16 support. * FRW-1633 Added postgres 16 support. * FRW-1633 Added postgres 16 support. * FRW-1633 Upgraded postgres version * Update README + revert the default version --------- Co-authored-by: dimitriyTsemma <[email protected]> Co-authored-by: alexanderM91 <[email protected]>
1 parent ae4c276 commit 8fde354

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ For contribution guidelines, see [Code contribution guide](https://docs.spryker.
5959
| | | 10 | &check; | |
6060
| | | 11 | &check; | |
6161
| | | 12 | &check; | |
62+
| | | 17 | &check; | |
6263
| | mysql | 5.7 | | |
6364
| | | mariadb-10.2 | &check; | https://endoflife.date/mariadb |
6465
| | | mariadb-10.3 | &check; | https://endoflife.date/mariadb |

docs/07-deploy-file/02-deploy.file.reference.v1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ This variable is optional. If not specified, the [default version](https://githu
553553
services:
554554
database:
555555
engine: postgres
556-
version: 9.6
556+
version: 17
557557
root:
558558
username: "root"
559559
password: "secret"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{{ serviceName }}:
2+
image: postgres:17-alpine
3+
networks:
4+
- private
5+
labels:
6+
'spryker.app.name': database
7+
'spryker.app.type': services
8+
'spryker.project': ${SPRYKER_DOCKER_PREFIX}:${SPRYKER_DOCKER_TAG}
9+
healthcheck:
10+
test: [ "CMD", "pg_isready" ]
11+
interval: 10s
12+
timeout: 5s
13+
retries: 5
14+
environment:
15+
POSTGRES_USER: "{{ serviceData['root']['username'] }}"
16+
POSTGRES_PASSWORD: "{{ serviceData['root']['password'] }}"
17+
volumes:
18+
- {{ serviceName }}-{{ serviceData['engine'] }}-data:/var/lib/postgresql/data:rw

0 commit comments

Comments
 (0)