Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an object in a bucket as the staticfile root #138

Open
XDynames opened this issue Dec 9, 2023 · 0 comments
Open

Use an object in a bucket as the staticfile root #138

XDynames opened this issue Dec 9, 2023 · 0 comments

Comments

@XDynames
Copy link

XDynames commented Dec 9, 2023

I am trying to setup staticfile hosting through minio and ran into a bit of a dead end getting collectstatic to work properly. It will place all the static content into the root of a bucket, but I can't find a way to configure it to move the files into an object in the bucket. Basically I want to do something like this:

- bucket
    - static
        - staticfolder
        - staticfolder
        - staticfolder
    -media
        -uploads

I am not sure if it is relevant but the minio container itself is not exposed to the wider network and is accessed by django through the docker network and clients via nginx. Any help would be greatly appriciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant