Skip to content

Commit

Permalink
update radis host
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenVibesOnly committed Oct 18, 2024
1 parent fc0db58 commit 8c43299
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 90 deletions.
2 changes: 1 addition & 1 deletion app/redis_db/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ async def get_redis_connection():
"""Подключение к Redis."""

return await aioredis.from_url(
"redis://localhost:6379", decode_responses=True
"redis://158.160.77.163:6379", decode_responses=True # localhost:
)
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
depends_on:
- db
container_name: scid-bot
# build: . # раскомментить для работы локально
image: greenvibe/scid_bot_3
build: . # раскомментить для работы локально
# image: greenvibe/scid_bot_3
command: bash -c "cd app && poetry run alembic stamp head && poetry run alembic revision --autogenerate && poetry run alembic upgrade head && poetry run python main.py"
env_file: .env
Loading

0 comments on commit 8c43299

Please sign in to comment.