This repository has been archived on 2025-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
wot_stats_server/config_file.ini

28 lines
783 B
INI
Raw Permalink Normal View History

2017-09-03 18:48:42 +03:00
from datetime import timedelta
from celery.schedules import crontab
DEBUG=True
SECRET_KEY="super-secret"
SQLALCHEMY_DATABASE_URI="postgres://wot:wot@192.168.1.47/wot"
OPENID_FS_STORE_PATH="tmp"
WG_REDIRECT_URL="http://wot.anzhiganov.com/token"
WG_APPLICATION_ID="502910c1c785c3c7ca2e83c9e89bde02"
# WG_OPENID_URL=https://eu.wargaming.net/id/openid/
WG_OPENID_URL="https://wargaming.net/id/openid/"
WG_TOKEN_URL="https://api.worldoftanks.ru/wot/auth/login/"
# Celery configuration
CELERY_BROKER_URL = 'redis://192.168.1.47:6379/4'
CELERY_RESULT_BACKEND = 'redis://192.168.1.47:6379/4'
#CELERYBEAT_SCHEDULE = {
# 'wotstats.tasks.hello': {
# 'task': 'wotstats.tasks.hello',
# # 'schedule': timedelta(seconds=3)
# 'schedule': crontab(minute="*")
# },
#}