Sign inSign up

cristo/yii

By cristo

•Updated over 10 years ago

Image
2

571

cristo/yii repository overview

#Create container

docker run -i -t -d -p 80:80 -p 22:22 cristo/yii /bin/bash

#MySQL

user: root 
password: root

#SSH

ssh -p22 root@localhost
password: passwd

#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:80;
                        }
}

#Origin [Docker Hub] (https://hub.docker.com/u/cristo/yii/⁠)

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

Tag summary

Content type

Image

Digest

sha256:11dae588c…

Size

257.2 MB

Last updated

over 10 years ago

docker pull cristo/yii