_config.yml
Jekyll 的全局配置文件。
比如网站的名字,网站的域名,网站的链接格式等等。
| #!/bin/bash | |
| # | |
| # Generates client and server certificates used to enable HTTPS | |
| # remote authentication to a Docker daemon. | |
| # | |
| # See http://docs.docker.com/articles/https/ | |
| # | |
| # To start the Docker Daemon: | |
| # | |
| # sudo docker -d \ |
| # Fixed from example on blog post | |
| # https://medium.com/@erbalvindersingh/setting-up-and-running-zabbix-along-with-nginx-and-postgresql-using-docker-compose-2b1f011b0ba6 | |
| version: '3.1' | |
| services: | |
| postgres-server: # The Postgres Database Service | |
| image: postgres:latest | |
| restart: always | |
| environment: # Username, password and database name variables | |
| POSTGRES_USER: zabbix | |
| POSTGRES_PASSWORD: zabbix |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
| # Reference | |
| # https://ithelp.ithome.com.tw/articles/10192648 | |
| # https://sites.google.com/site/paothsungchen/selflearning/elementaryos/inputchinese | |
| # Fcitx official https://fcitx-im.org/wiki/Fcitx | |
| sudo apt install software-properties-common | |
| # 移除 ibus 框架 | |
| sudo apt remove --purge $(sudo dpkg -l | grep ibus | awk '{print $2}' | grep ^ibus) |
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev