fixed docker

This commit is contained in:
Alexander Karpov 2023-01-03 01:41:52 +03:00
parent 410a73a4ec
commit 49d29e127b
2 changed files with 3 additions and 6 deletions

View File

@ -50,9 +50,6 @@ jobs:
- name: Build the Stack - name: Build the Stack
run: docker-compose -f local.yml build run: docker-compose -f local.yml build
- name: Run DB Migrations
run: docker-compose -f local.yml run --rm django python manage.py migrate
- name: Run Django Tests - name: Run Django Tests
run: docker-compose -f local.yml run django pytest run: docker-compose -f local.yml run django pytest

View File

@ -74,9 +74,9 @@
"*.*": {}, "*.*": {},
} }
CACHEOPS_REDIS = { CACHEOPS_REDIS = {
'host': env.db("REDIS_HOST", default="redis"), "host": env.db("REDIS_HOST", default="redis"),
'port': 6379, # default redis port "port": 6379, # default redis port
'db': 1, "db": 1,
} }
# URLS # URLS