Docker's typecho image - not recommended

 Xiaoxiami of Menglang
2021-08-18 / 0 Comments / 12999 Reading / Checking whether to include

Tips: Please use the official image if necessary. This image is for personal use only. At present, the author intends to give up this image and write a new one.

Typecho Docker Image

Typecho Docker image

Typecho is a lightweight php blog system, just like wordpress, with plug-in support.

This repo provides the basic running environment typecho

Tips

Since the blogger's server cannot log in to the docker, the image cannot be published to hub.docker.com. If you want, please select the following methods to compile the image

Quick start

Mode 1 Docker

 docker build -t typecho-docker . docker run -d -p 80:80 typecho-docker

Mode 2 docker compose

 docker-compose up -d

Either of the above two methods

characteristic

explain

  1. Add plug-in warehouse. After background login, directly enable plug-in warehouse
  2. Compared with other users: add docker compose
  3. MySQL is not included in the code. If necessary, please install it yourself.
  4. PHP 7.2.10 + nginx/1.14.2
  5. The code directory is in the container /var/www/html/typecho
  6. Nginx is configured as/etc/nginx/nginx. conf (inside the container).
  7. The nginx domain name configuration directory is/etc/nginx/conf. d (in the container)

Sample Website

Deployment site is http://blog.2pp.link
Open source address: https://github.com/cikiChe/typecho-docker

End

If it is useful to you, please help order a star

zero

Comments (0)

cancel