python versrion upgrade, community type fix

This commit is contained in:
tonyrewin 2022-06-16 14:44:36 +03:00
parent 12679808cf
commit dc2f62d300
7 changed files with 8 additions and 5 deletions

1
.gitignore vendored
View File

@ -141,4 +141,5 @@ migration/content/**/*.md
*.zip
*.sqlite3
*.rdb
.DS_Store

View File

@ -6,7 +6,7 @@ exclude: |
)
default_language_version:
python: python3.8
python: python3.9
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks

View File

@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.9
EXPOSE 8080

View File

@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.9
EXPOSE 8081

View File

@ -10,7 +10,7 @@ starlette = "*"
uvicorn = "*"
pydantic = "*"
passlib = "*"
PyJWT = "*"
PyJWT = ">=2.4.0"
SQLAlchemy = "*"
itsdangerous = "*"
httpx = ">=0.23.0"

View File

@ -41,7 +41,7 @@ http {
}
server {
listen 8000;
listen localhost:8000;
#server_name localhost;
#charset koi8-r;
# access_log logs/host.access.log main;

View File

@ -331,6 +331,8 @@ type Community {
name: String!
desc: String
pic: String!
createdAt: DateTime!
createdBy: User!
}
type TopicStat {