mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 16:46:35 +03:00
fixed docker
This commit is contained in:
parent
410a73a4ec
commit
49d29e127b
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user