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
Tips
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
characteristic
explain
-
Add plug-in warehouse. After background login, directly enable plug-in warehouse -
Compared with other users: add docker compose -
MySQL is not included in the code. If necessary, please install it yourself. -
PHP 7.2.10 + nginx/1.14.2 -
The code directory is in the container /var/www/html/typecho -
Nginx is configured as/etc/nginx/nginx. conf (inside the container). -
The nginx domain name configuration directory is/etc/nginx/conf. d (in the container)
Sample Website
End