Tested Typecho version: 1.1(17.10.30)
git
, wget
, tar
are required
Ubuntu:
sudo apt -y install git wget tar
clone this repository
git clone https://github.com/moeKiwiSAMA/docker-nginx-php-mysql-typecho.git
cd into the web page directory
cd docker-nginx-php-mysql-typecho/web/public
download and extract typecho
wget https://typecho.org/downloads/1.1-17.10.30-release.tar.gz
tar -zxvf 1.1-17.10.30-release.tar.gz
mv build/* ./
rm -rf 1.1-17.10.30-release.tar.gz build
back to repository
cd ../..
start docker compose
sudo docker-compose up -d
This project use the following ports :
Server | Port |
---|---|
MySQL | 8989 |
PHPMyadmin | 8080 |
Nginx | 8000 |
Nginx SSL | 3000 |
Address of the machine could be found by
ip addr