Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 3616f80

Browse files
committed
bump to postgres 13 in docker compose
1 parent cc12b87 commit 3616f80

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Documentation: https://beacon-python.readthedocs.io
1111

1212
`beacon-python` Web Server requires:
1313
* Python 3.8+;
14-
* running DB [PostgreSQL Server](https://www.postgresql.org/) 9.6+ (recommended 11.6).
14+
* running DB [PostgreSQL Server](https://www.postgresql.org/) 9.6+ (recommended 13).
1515

1616
```shell
1717
git clone https://github.com/CSCfi/beacon-python
@@ -30,7 +30,7 @@ docker run -e POSTGRES_USER=beacon \
3030
-e POSTGRES_PASSWORD=beacon \
3131
-v "$PWD/data":/docker-entrypoint-initdb.d \
3232
-e POSTGRES_DB=beacondb \
33-
-p 5432:5432 postgres:11.6
33+
-p 5432:5432 postgres:13
3434
```
3535

3636
#### Run beacon-python

deploy/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3.2'
33
services:
44
postgres:
55
hostname: postgres
6-
image: postgres:11.6
6+
image: postgres:13
77
environment:
88
POSTGRES_USER: beacon
99
POSTGRES_DB: beacondb
@@ -20,7 +20,7 @@ services:
2020
environment:
2121
DATABASE_URL: postgres
2222
links:
23-
- postgres:postgres
23+
- postgres:postgres
2424
ports:
2525
- 5050:5050
2626
restart: on-failure

deploy/test/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3.2'
33
services:
44
postgres:
55
hostname: postgres
6-
image: postgres:11.6
6+
image: postgres:13
77
environment:
88
POSTGRES_USER: beacon
99
POSTGRES_DB: beacondb
@@ -42,4 +42,4 @@ services:
4242
- 8000:8000
4343
volumes:
4444
- ./mock_auth.py:/mock_auth.py
45-
entrypoint: ["python", "/mock_auth.py", "0.0.0.0", "8000"]
45+
entrypoint: [ "python", "/mock_auth.py", "0.0.0.0", "8000" ]

docs/db.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Database
44
========
55

6-
We use a PostgreSQL database (recommended version 11.6) for working with beacon data.
6+
We use a PostgreSQL database (recommended version 13) for working with beacon data.
77
For more information on setting up the database consult :ref:`database-setup`.
88

99
.. attention:: We recommend https://pgtune.leopard.in.ua/ for establishing PostgreSQL

docs/instructions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Instructions
44
.. note:: In order to run ``beacon-python`` Web Server requirements are as specified below:
55

66
* Python 3.8+;
7-
* running DB `PostgreSQL Server <https://www.postgresql.org/>`_ 9.6+ (recommended 11.6).
7+
* running DB `PostgreSQL Server <https://www.postgresql.org/>`_ 9.6+ (recommended 13).
88

99
.. _env-setup:
1010

@@ -165,7 +165,7 @@ Starting PostgreSQL using Docker:
165165
-e POSTGRES_PASSWORD=beacon \
166166
-e POSTGRES_DB=beacondb \
167167
-v "$PWD/data":/docker-entrypoint-initdb.d \
168-
-p 5432:5432 postgres:11.6
168+
-p 5432:5432 postgres:13
169169
170170
.. hint:: If one has their own database the ``beacon_init`` utility can be skipped,
171171
and make use of their own database by:

0 commit comments

Comments
 (0)