Skip to content

Commit e3b7bec

Browse files
committed
chore: change default postgres version to 17 in deployment template
The Docker container image for Postgres 18 made a breaking change: docker-library/postgres#1259. As a short-term fix, we change the default Postgres version to 17. In the longer term, logic will need to be added to the template to support Postgres images >=18 and <18.
1 parent c22bea0 commit e3b7bec

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

cookiecutter-templates/cookiecutter-dioptra-deployment/cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"systemd_required_mounts": "",
99
"nginx_server_name": "dioptra.example.org",
1010
"nginx_expose_ports_on_localhost_only": ["True", "False"],
11-
"postgres_container_tag": "18",
11+
"postgres_container_tag": "17",
1212
"__restapi_http_port": "80",
1313
"__restapi_https_port": "443",
1414
"__db_admin_username": "postgres",

docs/source/how-to/setup-dioptra/reference/deployment-template-reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Press Enter to accept the default, or type a new value.
213213
1 - True
214214
2 - False
215215
Choose from 1, 2 [1]: 1
216-
postgres_container_tag [18]: 18
216+
postgres_container_tag [17]: 17
217217
pgadmin_default_email [dioptra@example.com]: dioptra@example.com
218218
num_tensorflow_cpu_workers [1]: 1
219219
num_tensorflow_gpu_workers [0]: 0

tests/cookiecutter_dioptra_deployment/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def context():
2929
"systemd_required_mounts": "",
3030
"nginx_server_name": "dioptra.example.org",
3131
"nginx_expose_ports_on_localhost_only": "True",
32-
"postgres_container_tag": "18",
32+
"postgres_container_tag": "17",
3333
"__restapi_http_port": "80",
3434
"__restapi_https_port": "443",
3535
"__db_admin_username": "postgres",

tests/cookiecutter_dioptra_deployment/test_cruft_no_prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"docker_compose_path": "docker compose",
3636
"nginx_server_name": "dioptra.example.org",
3737
"nginx_expose_ports_on_localhost_only": "True",
38-
"postgres_container_tag": "18",
38+
"postgres_container_tag": "17",
3939
"pgadmin_default_email": "dioptra@example.com",
4040
"num_tensorflow_cpu_workers": "1",
4141
"num_tensorflow_gpu_workers": "0",

0 commit comments

Comments
 (0)