diff --git a/local.yml b/local.yml index 838c05b..4ea4be3 100644 --- a/local.yml +++ b/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