Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Dec 29, 2023
1 parent e567528 commit 726b751
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ services:
- ./data/mysql/data:/var/lib/mysql
- ./data/mysql/conf.d:/etc/mysql/conf.d
environment:
MYSQL_ROOT_PASSWORD: 'gitmaya'
MYSQL_DATABASE: 'gitmaya2023'
MYSQL_ROOT_PASSWORD: 'gitmaya2023'
MYSQL_DATABASE: 'gitmaya'
TZ: 'Asia/Shanghai'
ports:
- "3306"
Expand Down
25 changes: 24 additions & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies = [
"urllib3>=2.1.0",
"ca-lark-sdk>=0.0.8",
"celery>=5.3.6",
"redis>=5.0.1",
]
requires-python = ">=3.10"
readme = "README.md"
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

amqp==5.2.0
anyio==4.2.0
async-timeout==4.0.3; python_full_version <= "3.11.2"
billiard==4.2.0
blinker==1.7.0
bson==0.5.10
Expand Down Expand Up @@ -38,6 +39,7 @@ pycryptodome==3.19.1
pymysql==1.1.0
python-dateutil==2.8.2
python-dotenv==1.0.0
redis==5.0.1
six==1.16.0
sniffio==1.3.0
sqlalchemy==2.0.23
Expand Down
1 change: 1 addition & 0 deletions server/celery_app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import env
from app import app
from celery import Celery

Expand Down
3 changes: 2 additions & 1 deletion server/tasks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from ..celery_app import celery
from celery_app import celery

from .lark import test_task

celery.conf.beat_schedule = {
Expand Down
2 changes: 1 addition & 1 deletion server/tasks/lark.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..celery_app import celery
from celery_app import celery


@celery.task()
Expand Down

0 comments on commit 726b751

Please sign in to comment.