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: