docker-magento2 icon indicating copy to clipboard operation
docker-magento2 copied to clipboard

Where is the data...?

Open Zyles opened this issue 6 years ago • 2 comments

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

Zyles avatar Feb 25 '19 14:02 Zyles

I have exactly the same question !

I want to use different 'datasets' for different shops . Does anyone know about that?

icychocolate98 avatar Apr 15 '20 08:04 icychocolate98

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

icychocolate98 avatar Apr 15 '20 08:04 icychocolate98