折腾手厕
  • 主页
  • 关于
Sign in Subscribe

Docker

A collection of 2 posts
Docker

pi上用的Docker容器记录

纯笔记,哪天硬盘挂了,方便爷们重建。 配置http proxy # 创建目录 mkdir /etc/systemd/system/docker.service.d # 创建文件写入 /etc/systemd/system/docker.service.d/http-proxy.conf [Service] Environment="HTTP_PROXY=http://192.168.0.237:3129" Environment="HTTPS_PROXY=http://192.168.0.237:3129" # 重启服务 systemctl daemon-reload systemctl restart
06 Aug 2024 5 min read
Raspberry pi

使用Raspberry pi 搭建Ghost博客(docker)

盆友,你猜的没错,本站用的博客就跑在树莓派上。 图样图森破: 看到没,刚创建5小时就迫不及待的发First Post,吼吼吼。 print("Hello World!") docker和mysql的安装就不说了,直接上 docker-compose.yml version: '3.1' services: ghost: container_name: ghost image: ghost:latest restart: always ports: - 2368:2368 environment: # 更改mysql连接信息 (我用的mysql早就装在了nas机器上) database__client: mysql database__connection__host: mysql_ip database__connection__user:
14 Mar 2024 6 min read
Page 1 of 1
折腾手厕 © 2025
  • 注册
Powered by Ghost