Sign inSign up

cristo/magento

By cristo

•Updated about 10 years ago

Docker image with Magento CE-2.1.1 on Ubuntu 14.04.4 with php7 && apache2

Image
0

1.9K

cristo/magento repository overview

⁠Create container

docker run -it -d --name=magento -h=magento -p 1080:80 -p 1022:22 cristo/magento:php7 /bin/bash

⁠MySQL

DB: magento
user: root 
password: root

⁠SSH

ssh -p1022 root@localhost
password: root

⁠NGINX server config file for communicate with docker

server {
        listen *:80;
        server_name localhost;
        proxy_set_header Host localhost;
        client_max_body_size 100M;

                location / {
                                proxy_set_header Host $host;
                                proxy_set_header X-Real-IP $remote_addr;
                                proxy_cache off;
                                proxy_pass http://localhost:1080;
                        }
}

⁠Origin

[Docker Hub] (https://hub.docker.com/r/cristo/magento/⁠)

[Git Hub] (https://github.com/monte-fm/magento⁠)

Tag summary

Content type

Image

Digest

sha256:2d8280792…

Size

438.1 MB

Last updated

over 10 years ago

docker pull cristo/magento