mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-25 14:03:44 +03:00
added local volume
This commit is contained in:
parent
0463ad239b
commit
3a172e558a
11
local.yml
11
local.yml
|
@ -18,6 +18,9 @@ services:
|
|||
- mailhog
|
||||
volumes:
|
||||
- .:/app:z
|
||||
- type: bind
|
||||
source: ./akarpov/media/
|
||||
target: /app/akarpov/media/
|
||||
env_file:
|
||||
- ./.envs/.local/.django
|
||||
- ./.envs/.local/.postgres
|
||||
|
@ -51,6 +54,10 @@ services:
|
|||
<<: *django
|
||||
image: akarpov_local_celeryworker
|
||||
container_name: akarpov_local_celeryworker
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./akarpov/media/
|
||||
target: /app/akarpov/media/
|
||||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
|
@ -62,6 +69,10 @@ services:
|
|||
<<: *django
|
||||
image: akarpov_local_celerybeat
|
||||
container_name: akarpov_local_celerybeat
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./akarpov/media/
|
||||
target: /app/akarpov/media/
|
||||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
|
|
Loading…
Reference in New Issue
Block a user