Skip to content

moeKiwiSAMA/docker-nginx-php-mysql-typecho

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker environment for Typecho

Tested Typecho version: 1.1(17.10.30)

How to start docker compose

Docker compose environment

Install docker first

Install docker-compose here

Get this repository and Typecho

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

About

✔ Workable docker compose file for typecho.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 72.5%
  • PHP 17.6%
  • Shell 9.9%