Skip to content

Commit

Permalink
Fix(locale): Added locale volume into yml files, fixed media volume i…
Browse files Browse the repository at this point in the history
…nto local yml
  • Loading branch information
victoriafabriss committed Nov 30, 2023
1 parent fb63707 commit 66c3be9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -73,3 +74,4 @@ volumes:
postgres_data:
mediafiles:
cache:
translations:
2 changes: 2 additions & 0 deletions production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
dockerfile: infra/app/Dockerfile
volumes:
- staticfiles:/app/storage/static
- translations:/app/locale
ports:
- 80
env_file:
Expand Down Expand Up @@ -44,6 +45,7 @@ volumes:
staticfiles:
external: true
name: staticfiles
translations:

networks:
shared:
Expand Down
2 changes: 2 additions & 0 deletions staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
dockerfile: infra/app/Dockerfile
volumes:
- staticfiles:/app/storage/static
- translations:/app/locale
ports:
- 80
env_file:
Expand Down Expand Up @@ -44,6 +45,7 @@ volumes:
staticfiles:
external: true
name: staticfiles
translations:

networks:
shared:
Expand Down

0 comments on commit 66c3be9

Please sign in to comment.