Docker Container Restarting after SSH Login – Solution

As mentioned in a previous blog post, my current project is deployed using Docker. However, during a recent login to the server, a strange phenomenon occurred: all the containers in Docker would restart from time to time. Also, every time I logged in to check the Docker status, it would show that the containers had just started (Up 15 seconds). After several investigations, I finally identified that the restart issue was related to SSH login. Every time I logged in via SSH, the containers would restart.

继续阅读

Using Docker Compose to Self-host Project Deploy

After three months of hard work, the SSL certificate of my RSS aggregator finally expired. The auto-renew script failed to renew it — this happened a couple of times, I need to login into the web panel and renew it manually every three months. Unfortunately, the web panel malfunctioned this time either. After an epic battle with cert-bot, Nginx, and even the web panel I used, I finally gave up and decided to switch to another self-hosting solution.  

继续阅读

Use Roundcube on Lolipop.jp

Lolipop by GMO cloud is the hosting service I’m using. The hosting plan includes email hosting services, but the webmail interface is in Japanese with limited functions provided, so I installed my own Roundcube instance instead. Not like VPS, Installing a custom Webmail service needs to skim through the service provider’s documentation, undoubtedly it is all in Japanese. This takes me some time to search and validate all these endpoints. Anyway, the tutorial is as follows.

继续阅读

转换生活的 2021

2021 感觉是被按下了加速键的一年,倏乎就到了年底。我还记得 2020 年坐在 Kensington 客厅里写 2020 年总结的样子。但不得不承认,一年又这样过去了,我忘记曾经在哪里看到过一种说法,男生在 25 岁后会逐渐忘记自己的生日,没想到不仅仅是生日,整个生活都被仿佛按下了快转。

继续阅读

多数派的中国

回国之后,非常多人在问我诸如“国内和国外有哪些区别”、“回国之后还习惯吗”的问题,刚开始被问到的时候我还有些诧异,一方面是觉得中国和澳洲的国情不同,有些问题拿来比较会很“生硬”;另一方面我一直觉得,既然在一个国家,就要遵守当地的游戏规则——既然回国了,就要尽快适应国内的规矩,能否习惯自然也就是个伪命题了。

继续阅读