Skip to content

monte-fm/Yii-Yii2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

#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)

About

Dockerfile for PHP Yii-Yii2 Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages