From 66c3be90b4dc60eeed71f80493c5eb927496b84e Mon Sep 17 00:00:00 2001 From: victoriafabriss Date: Thu, 30 Nov 2023 11:38:07 -0300 Subject: [PATCH] Fix(locale): Added locale volume into yml files, fixed media volume into local yml --- local.yml | 4 +++- production.yml | 2 ++ staging.yml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 621f4e7..c6abadc 100644 --- a/local.yml +++ b/local.yml @@ -15,7 +15,8 @@ services: volumes: - ./src:/app/src - ./storage/static:/app/storage/static - - ./storage/static:/app/storage/media + - ./storage/media:/app/storage/media + - translations:/app/locale ports: - ${DJANGO_HTTP_PORT:-8000}:${DJANGO_HTTP_PORT:-8000} env_file: @@ -73,3 +74,4 @@ volumes: postgres_data: mediafiles: cache: + translations: diff --git a/production.yml b/production.yml index 2fcc969..13c29f0 100644 --- a/production.yml +++ b/production.yml @@ -11,6 +11,7 @@ services: dockerfile: infra/app/Dockerfile volumes: - staticfiles:/app/storage/static + - translations:/app/locale ports: - 80 env_file: @@ -44,6 +45,7 @@ volumes: staticfiles: external: true name: staticfiles + translations: networks: shared: diff --git a/staging.yml b/staging.yml index 7e33f1f..f876378 100644 --- a/staging.yml +++ b/staging.yml @@ -11,6 +11,7 @@ services: dockerfile: infra/app/Dockerfile volumes: - staticfiles:/app/storage/static + - translations:/app/locale ports: - 80 env_file: @@ -44,6 +45,7 @@ volumes: staticfiles: external: true name: staticfiles + translations: networks: shared: