Comments (1)
Hi @freakimkaefig,
No unfortunately.
Only the document root (as set by DOCUMENTROOT
in .env
) is volume-mounted to the Apache and PHP containers. Everything else on your computer is not accessible.
Here's some potential solutions:
- Point
DOCUMENTROOT
to/User/username/Sites
instead - If you just want to load from the
public
folder, then try using this URL variation:http://projectA.php74.pub.localhost
- Symlinks within the
DOCUMENTROOT
folder work fine too. Eg./User/username/Projects/projectAPub
-->/User/username/Projects/projectA/public
from docker-dev.
Related Issues (13)
- Can't connect to XDebug in PHP 7.4 container HOT 2
- Add PHPMyAdmin or Adminer ? HOT 2
- WordPress domain mapping and config ? HOT 3
- Sendmail configuration ? HOT 1
- double quote generates an error HOT 1
- Starting XDebug on Mac HOT 1
- Error 404 not found HOT 3
- (question) Working with oAuth (Specifically google) HOT 2
- Add a PHP Analyzer like Phan (or any other) HOT 2
- Add `docker builder prune` to the Update section in Readme HOT 5
- You don't have permission to access / on this server. HOT 1
- 403 Forbidden when accessing info.localhost HOT 4
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 docker-dev.