potsky / mona

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker 4 MonaTiny

Install

  • Build the image

     docker build -t my_mona .
    

Run

  • With a local build

     docker run -v ~/Work/GitHub/mona/www:/home/MonaServer2/MonaTiny/www -p 722:22 -p 780:80 -p 7443:443 -p 1935:1935 -p 5901:5901 -p 6901:6901 -ti --rm my_mona
    

    Replace ~/Work/GitHub/mona/www by the path of the www directory of this repository

  • On production

     docker pull potsky/mona
     docker run -v ~/Work/GitHub/mona/www:/home/MonaServer2/MonaTiny/www -p 722:22 -p 780:80 -p 7443:443 -p 1935:1935 -p 5901:5901 -p 6901:6901 -ti --rm potsky/mona
    

    Replace ~/Work/GitHub/mona/www by the path of the www directory of this repository

Connect

  • You can connect to SSH with root as the root password

     ssh -l root -p 2722 localhost
    
  • You can connect to VNC to test on Chromium on Ubuntu

Work

About


Languages

Language:JavaScript 71.1%Language:Shell 17.6%Language:HTML 9.4%Language:Vim Script 1.9%