mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-11-30 13:20:40 +03:00
update postgresql to version 14
This commit is contained in:
4
.github/workflows/build-and-test.yml
vendored
4
.github/workflows/build-and-test.yml
vendored
@@ -8,12 +8,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.9", "3.10", "3.11"]
|
python-version: ["3.9", "3.10"]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
services:
|
services:
|
||||||
sqldb:
|
sqldb:
|
||||||
image: postgres:13
|
image: postgres:14
|
||||||
env:
|
env:
|
||||||
POSTGRES_USER: user
|
POSTGRES_USER: user
|
||||||
POSTGRES_PASSWORD: secret
|
POSTGRES_PASSWORD: secret
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# pull official base image
|
# pull official base image
|
||||||
FROM postgres:13-alpine
|
FROM postgres:14-alpine
|
||||||
|
|
||||||
# run create.sql on init
|
# run create.sql on init
|
||||||
ADD create.sql /docker-entrypoint-initdb.d
|
ADD create.sql /docker-entrypoint-initdb.d
|
||||||
|
|||||||
Reference in New Issue
Block a user