Comments (6)
Hi @haelbichalex, thanks for your report!
Let me ask you some questions!
- Which OS are you running?
- Is it s a fresh install, or an already existing magento project and you're trying to add dockergento to it?
- Can you give us more information about the steps you did before getting this error? (setup, etc)
Maybe this path '././vendor/*
is causing problems. (probably generated by setup command) Will take a look at it.
Regards
from magento2-dockergento.
- Running macOS 10.13.6 and Docker 2.0.0.0-beta1-mac75 (27117) as a fresh Magento 2.2.6 install.
- Regarding the setup: I installed M2 via composer into a new folder and after installing
dockergento-console
I randockergento setup
with default configuration.
Here is my docker-compose.yml
:
version: "3"
services:
app-volumes:
build: ./config/dockergento/image/app-volumes
volumes: &appvolumes
- ~/.composer:/var/www/.composer:delegated
- sockdata:/sock
- workspace:/var/www/html
- ./app:/var/www/html/app:delegated
- ./.git:/var/www/html/.git:delegated
- ./config:/var/www/html/config:delegated
- ./composer.json:/var/www/html/composer.json:delegated
- ./composer.lock:/var/www/html/composer.lock:delegated
- ./:/var/www/html/:delegated
app:
build: ./config/dockergento/image/nginx
ports:
- 80:8000
volumes: *appvolumes
depends_on:
- phpfpm
phpfpm:
image: modestcoders/php:7.1-fpm
volumes: *appvolumes
environment:
PHP_IDE_CONFIG: serverName=localhost
depends_on:
- app-volumes
- db
db:
image: mysql:5.7
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: magento
MYSQL_USER: magento
MYSQL_PASSWORD: magento
volumes:
- dbdata:/var/lib/mysql
node:
image: modestcoders/node-php:node8-php7.1
volumes: *appvolumes
depends_on:
- app-volumes
unison:
image: modestcoders/unison:2.51.2
volumes:
- workspace:/var/www/html
- ./vendor:/sync/vendor
environment:
- SYNC_SOURCE_BASE_PATH=/sync
- SYNC_DESTINATION_BASE_PATH=/var/www/html
- SYNC_MAX_INOTIFY_WATCHES=60000
depends_on:
- app-volumes
privileged: true
volumes:
dbdata:
sockdata:
workspace:
from magento2-dockergento.
@haelbichalex I just added a fix for that on version 1.3.2
of magento2-dockergento-console.
Could you please pull the latest version and then execute dockergento setup
again? This time the docker-compose.yml
should not contain the line - ./:/var/www/html/:delegated
Let us know if that fixes the problem. Thanks
from magento2-dockergento.
@jalogut Works like a charm now
from magento2-dockergento.
I think there might be an error in the docker-compose.yml
configuration. Could you please paste here the content of your file? Thanks
from magento2-dockergento.
It seems to be an error in the dockergento setup
command if the project is not a git repository. We are working on a fix for that. In the meantime can you do the following?
- Open docker-compose.yml and remove this line
- ./:/var/www/html/:delegated
- Then execute the following
dockergento rebuild
dockergento composer install
from magento2-dockergento.
Related Issues (20)
- Feature request: add support for Magento 2 EE HOT 3
- Feature request: Add container for cron jobs HOT 1
- Mailhog Setup HOT 2
- modestcoders/node-php:node8-php7.3 is not avalible HOT 4
- how to set it as production HOT 2
- PHP 7.4 Support HOT 3
- SQLSTATE[HY000] [2002] No such file or directory HOT 1
- Path cannot be mirrored HOT 1
- Multiple database HOT 1
- Composer github oauth
- sample data install fails / composer error php 7.2 magento v 2.3.2 HOT 2
- Can't copy project files into host HOT 1
- Grunt compilation failure
- FEATURE: Mage2run HOT 3
- PHP 8 version
- Apple silicon m1
- More detailed docs?
- nginx version
- permission issues
- Magento 2.4.5
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 magento2-dockergento.