mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 16:46:35 +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
|
- mailhog
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app:z
|
- .:/app:z
|
||||||
|
- type: bind
|
||||||
|
source: ./akarpov/media/
|
||||||
|
target: /app/akarpov/media/
|
||||||
env_file:
|
env_file:
|
||||||
- ./.envs/.local/.django
|
- ./.envs/.local/.django
|
||||||
- ./.envs/.local/.postgres
|
- ./.envs/.local/.postgres
|
||||||
|
@ -51,6 +54,10 @@ services:
|
||||||
<<: *django
|
<<: *django
|
||||||
image: akarpov_local_celeryworker
|
image: akarpov_local_celeryworker
|
||||||
container_name: akarpov_local_celeryworker
|
container_name: akarpov_local_celeryworker
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: ./akarpov/media/
|
||||||
|
target: /app/akarpov/media/
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
|
@ -62,6 +69,10 @@ services:
|
||||||
<<: *django
|
<<: *django
|
||||||
image: akarpov_local_celerybeat
|
image: akarpov_local_celerybeat
|
||||||
container_name: akarpov_local_celerybeat
|
container_name: akarpov_local_celerybeat
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: ./akarpov/media/
|
||||||
|
target: /app/akarpov/media/
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
|
|
Loading…
Reference in New Issue
Block a user