Comments (7)
@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.
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.
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.
Are those symlinked directories actually present inside the docker after startup?
from devilbox.
I don't think so. I guess this could be a limitation of docker whereby volumes can't follow symlinks.
from devilbox.
@jpuck I am sorry to hear, then there is not much I can do about it.
from devilbox.
Might be related to: #90
from devilbox.
Related Issues (20)
- [Bug]: unable to access internet from php container HOT 3
- [Feature]: Update timezone database
- [Docs]: sqlsrv with new arm64 (Apple M1/M2)
- [Howto]: Use PHP and Vite simultaneously in the same project HOT 2
- [Howto]: multitenancy HOT 2
- [Feature]: skipping projects HOT 1
- [Bug]: Comment in project `nginx.yml` causes invalid error message in /vhosts.php
- [Feature]: DENO and BUN It's a good idea?
- [Bug]: Cannot access internet - DNS resolution incorrect HOT 3
- [Feature]: Make PHP 8.3 available HOT 12
- [Feature]: Add FrankenPHP
- [Feature]: Is devilbox inactive/dead? HOT 8
- [Bug]: Redis error HOT 3
- [Bug]: error, "No Host DNS record found. " even after adding folder name in /etc/hosts/ HOT 4
- [Feature]: podman support
- [Bug]: The Flask container doesn't initialize a virtual env for the app to run
- [Feature]: y no tiene interfaz gráfica?
- [Bug]: Failed to create Certificate Authority.
- There should be a way to access the hosted service/website on same network
- [Bug]: ngrok agent is too old and does not start
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devilbox.