docker-magento2
docker-magento2 copied to clipboard
Where is the data...?
I installed, I can access phpmyadmin and the db is there etc, but where is the code base?
$ sudo ls /var/www
ls: cannot access '/var/www': No such file or directory
My docker-compose.yml:
services:
web:
image: alexcheng/magento2
ports:
- "80:80"
links:
- db
env_file:
- env
volumes:
- /home/magento-data:/var/www/html
db:
image: mysql:5.6.23
volumes:
- db-data:/var/lib/mysql/data
env_file:
- env
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- "8580:80"
links:
- db
volumes:
db-data:
magento-data:
$ sudo ls /home/magento-data/
empty
I have exactly the same question !
I want to use different 'datasets' for different shops . Does anyone know about that?
Okay I think I find something,
Data comes from magento marketplace where you need an authentication key, in this example we are using a key from the author.
If you need additional data (as me), try to follow this link tutorial: https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-perf-data.html