Add retry + idempotency on trading when try + add more tts

This commit is contained in:
2025-09-20 02:28:16 +07:00
parent cb1252214a
commit d58672f879
15 changed files with 637 additions and 78 deletions

View File

@@ -45,3 +45,24 @@ services:
- 8086:8086
restart: always
redis:
image: redis:8.0.3
ports:
- "6379:6379"
volumes:
- redis_data:/data
networks:
- managing-network
restart: unless-stopped
environment:
- REDIS_PASSWORD=SuperSecretPassword
command: >
sh -c "
if [ -n \"$$REDIS_PASSWORD\" ]; then
redis-server --appendonly yes --requirepass $$REDIS_PASSWORD
redis-cli -a $$REDIS_PASSWORD
else
redis-server --appendonly yes
redis-cli
fi
"