From 59a72f8eaa80c8e3281c2280e3427bc3525c27cb Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:54:39 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20CMD-194=20`:ro`=20=E2=86=92=20`type:bind?= =?UTF-8?q?`,=20`read=5Fonly:true`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous attempt to error if files are missing failed: https://github.com/TACC/Core-Portal/pull/1034#discussion_r1876731555 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 --- .../conf/docker/docker-compose-dev.all.debug.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/server/conf/docker/docker-compose-dev.all.debug.yml b/server/conf/docker/docker-compose-dev.all.debug.yml index 4e90ee769..f2480ce2b 100644 --- a/server/conf/docker/docker-compose-dev.all.debug.yml +++ b/server/conf/docker/docker-compose-dev.all.debug.yml @@ -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 @@ -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: