Skip to content

Docker Compose Can Create Folders In Place of Missing Files #18

@wesleyboar

Description

@wesleyboar

Problem

Given user does not have settings_*.py or secrets.py1,
And user runs make start or docker compose build/up,
Then those paths are created as directories.

Cause

The docker-compose.dev.yml#L14-L16 which creates volumes, even if file is missing, thus resulting in a directory.

Solution

Move these settings and secrets files into a server/conf/cms/settings — one directory volume instead of many file volumes.
TACC/Core-Portal#1034 (comment) "Idea D"

Footnotes

  1. Edge case e.g. if download fails. But even more edge case since make setup CDN URL Inaccessible #17 was fixed by fix: handle download failure in setup script #24.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions