lab2 fix
Application / Lint (pull_request) Canceled after 0s
Application / Unit tests (pull_request) Canceled after 0s
Application / Docker build (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Vladislav Kunetskiy
2026-10-10 00:50:24 +03:00
parent 1e38dbdf35
commit da9fcf346a
36 changed files with 995 additions and 1038 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ os.environ['no_proxy'] = os.environ['NO_PROXY']
def restart_api(cache_enabled):
env = dict(os.environ)
env['APP_REDIS_ENABLED'] = 'true'
env['APP_CACHE_ENABLED'] = 'true' if cache_enabled else 'false'
env['REDIS_ENABLED'] = 'true'
env['CACHE_ENABLED'] = 'true' if cache_enabled else 'false'
subprocess.run(
[COMPOSE, '-f', 'docker-compose.local.yaml', 'up', '-d', '--force-recreate', 'api'],
cwd=ROOT,