+ economy domain (EconomyAccount, Job, SlotCombination, EconomyTransaction) + EconomyRepository + SqlEconomyRepository + DB schema + EconomyService (transfer, daily, deposit/withdraw, stat upgrades) + FishingService (fish grid with difficulty levels, speed bonus) + BlackjackService (dealer stands on 16, ties lose) + SlotService (weighted combos up to x50) + JobService (6 jobs with level reqs and efficiency stat) + 11 commands: balance, baltop, pay, daily, bank, rob, fish, blackjack, slot, job, work + Tests for SqlEconomyRepository + EconomyModule + EconomyCommandRegistrar wired into BotModule
21 lines
478 B
YAML
21 lines
478 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
bot:
|
|
build: .
|
|
container_name: loki-bot
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8712:8712"
|
|
environment:
|
|
DISCORD_BOT_TOKEN: ${DISCORD_BOT_TOKEN}
|
|
BOT_PREFIX: ${BOT_PREFIX:-!}
|
|
BOT_ACTIVITY: ${BOT_ACTIVITY:-Используй !help}
|
|
HEALTH_HTTP_PORT: ${HEALTH_HTTP_PORT:-8712}
|
|
SUPER_ADMIN_ID: ${SUPER_ADMIN_ID}
|
|
DB_PATH: /app/data/bot.db
|
|
volumes:
|
|
- bot-data:/app/data
|
|
|
|
volumes:
|
|
bot-data:
|