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 *.zip
*.sqlite3 *.sqlite3
*.rdb
.DS_Store .DS_Store

View File

@ -6,7 +6,7 @@ exclude: |
) )
default_language_version: default_language_version:
python: python3.8 python: python3.9
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - 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 EXPOSE 8080

View File

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

View File

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

View File

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

View File

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