Name Last Update
mariadb Loading commit data...
tinyshop Loading commit data...
README.md Loading commit data...
docker-compose.yml Loading commit data...

docker-for-tinyshop

tinyshop

docker-compose file for tinyshop

Usage

# chmod -R 777 tinyshop/html
docker-compose up -d
and visit localhost:port to install

configuration

tinyshop/config/php.ini is for php
tinyshop/html  is the source code and tinyshop configuration
in docker-compose.yml you can change
mysql configuration
port mapping

make sure database host is mariadb

nignx

upstream your_domain_name {
    server 127.0.0.1:port;
}
server
{

    listen       80;
    server_name your_domain_name;
    location / {
    proxy_set_header  X-Real-IP  $remote_addr;
    proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_pass http://your_domain_name;
    }

}