added local volume

This commit is contained in:
Alexander Karpov 2023-04-20 13:30:51 +03:00
parent 0463ad239b
commit 3a172e558a

View File

@ -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