Giter Site home page Giter Site logo

Comments (7)

jpuck avatar jpuck commented on August 17, 2024 2

@cytopia For me, I've got projects all over my file system that I'd like to be able to load in devilbox.

/var/www/project1
/srv/project2
/home/jeff/project3

I'd like to be able to symlink to these projects from HOST_PATH_TO_WWW_DOCROOTS

mkdir -p /devilbox/data/www && cd /devilbox/data/www
mkdir project1 project2 project3
ln -s /var/www/project1 project1/htdocs
ln -s /srv/project2 project2/htdocs
ln -s /home/jeff/project3 project3/htdocs

but this doesn't work because symlinks to real paths outside /devilbox/data/www are not followed.

from devilbox.

jpuck avatar jpuck commented on August 17, 2024

This would be a very convenient option to solve so that one could have the flexibility of storing projects anywhere on the filesystem instead of grouped in $HOST_PATH_TO_WWW_DOCROOTS

from devilbox.

cytopia avatar cytopia commented on August 17, 2024

@GiorgosK

You can set the main path of your www folders inside .env file:

HOST_PATH_TO_WWW_DOCROOTS=/home/giorgos/share/gwebsites/devilbox/data/www

Correct me if I understood something wrong.

from devilbox.

cytopia avatar cytopia commented on August 17, 2024

Are those symlinked directories actually present inside the docker after startup?

from devilbox.

jpuck avatar jpuck commented on August 17, 2024

I don't think so. I guess this could be a limitation of docker whereby volumes can't follow symlinks.

from devilbox.

cytopia avatar cytopia commented on August 17, 2024

@jpuck I am sorry to hear, then there is not much I can do about it.

from devilbox.

cytopia avatar cytopia commented on August 17, 2024

Might be related to: #90

from devilbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.