mirror of
https://github.com/Balshgit/public.git
synced 2025-09-11 18:00:42 +03:00
add async search to celery task and logger
This commit is contained in:
parent
9f8c186128
commit
63592f6c03
@ -2,6 +2,16 @@
|
|||||||
|
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
# Network for your internals, use it by default:
|
||||||
|
webnet:
|
||||||
|
name:
|
||||||
|
github_network
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
pgdata:
|
||||||
|
name: github_pgdata
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: "postgres:12"
|
image: "postgres:12"
|
||||||
@ -35,10 +45,9 @@ services:
|
|||||||
dockerfile: ./docker/django/Dockerfile
|
dockerfile: ./docker/django/Dockerfile
|
||||||
# args:
|
# args:
|
||||||
# DJANGO_ENV: development
|
# DJANGO_ENV: development
|
||||||
# cache_from:
|
cache_from:
|
||||||
# - "github-repos:dev"
|
- "github-repos:dev"
|
||||||
# - "github-repos:latest"
|
- "github-repos:latest"
|
||||||
# - "*"
|
|
||||||
# volumes:
|
# volumes:
|
||||||
# - django-static:/var/www/django/static
|
# - django-static:/var/www/django/static
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -97,19 +106,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- webnet
|
- webnet
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# This task is an example of how to extend existing ones:
|
# This task is an example of how to extend existing ones:
|
||||||
# some_worker:
|
# some_worker:
|
||||||
# <<: *web
|
# <<: *web
|
||||||
# command: python manage.py worker_process
|
# command: python manage.py worker_process
|
||||||
|
|
||||||
networks:
|
|
||||||
# Network for your internals, use it by default:
|
|
||||||
webnet:
|
|
||||||
name:
|
|
||||||
github_network
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
pgdata:
|
|
||||||
name: github_pgdata
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user