Skip to content

Commit

Permalink
fix: CMD-194 :rotype:bind, read_only:true
Browse files Browse the repository at this point in the history
Previous attempt to error if files are missing failed:
#1034 (comment)

This method succeeded, an error occurred:
> invalid mount config for type "bind": bind source path does not exist: /host_mnt/[…]/server/conf/cms/secrets.py
  • Loading branch information
wesleyboar committed Dec 9, 2024
1 parent b11800a commit 59a72f8
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions server/conf/docker/docker-compose-dev.all.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@ services:
cms:
image: taccwma/core-cms:latest
volumes:
- ../cms/secrets.py:/code/taccsite_cms/secrets.py:ro
- ../cms/settings_local.py:/code/taccsite_cms/settings_local.py:ro
- ../cms/settings_custom.py:/code/taccsite_cms/settings_custom.:ro
- type: bind
source: ../cms/secrets.py
target: /code/taccsite_cms/secrets.py
read_only: true
- type: bind
source: ../cms/settings_local.py
target: /code/taccsite_cms/settings_local.py
read_only: true
- type: bind
source: ../cms/settings_custom.py
target: /code/taccsite_cms/settings_custom.py
read_only: true
- ../cms/uwsgi/uwsgi.ini:/code/uwsgi.ini
- ../../cms/static:/code/static
- ../../cms/media:/code/media
Expand Down Expand Up @@ -146,6 +155,7 @@ services:
container_name: frontera_docs

volumes:
core_portal_cms:
core_portal_redis_data:
core_portal_es_data:
core_portal_rabbitmq_data:
Expand Down

0 comments on commit 59a72f8

Please sign in to comment.