- 简介
- 目录大纲
- 最新文档
云策文档think配置https教程
构建前编辑配置文件 生产环境配置文件名 prod.yaml 这里我们准备两个域名,示例域名如下(可自行修改为自己的): - thinkapi.mrdoc.fun - think.mrdoc.fun yaml client: port: 5001 assetPrefix: '/' apiUrl: 'https://thinkapi.mrdoc.fun/api' collabor………
Jonny - Aug. 5, 2022, 6:17 p.m.
electerm/tabby在执行screen命令后不显示滚动条
解决办法: 按下 ctrl+a 后,按 esc 然后上下键滚动即可.
Jonny - June 7, 2022, 11:47 a.m.
Warning: Stopping docker.service, but it can still be activated by: docker.socket
问题描述 使用 docker 时,每次停止 docker systemctl stop docker 命令执行完都会提示 Warning: Stopping docker.service, but it can still be activated by: docker.socket 原因 目前找到的问题原因是: This is because in addition to the docker………
Jonny - May 22, 2022, 9:49 p.m.
dockerfile 多阶段构建参考
dockerfile ``` FROM node:18-alpine as builder COPY . /app/ WORKDIR /app ARG EIP=mrdoc.fun RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN npm config set registr………
Jonny - May 22, 2022, 7:12 p.m.
alpine的docker镜像安装mysql/mariadb/redis
dockerfile参考 ``` FROM node:18-alpine as prod LABEL maintainer="www.mrdoc.fun" ENV TZ=Asia/Shanghai \ EIP=127.0.0.1 COPY --from=builder /app/think/output/ /app/ WORKDIR /app RUN set -x \ &am………
Jonny - May 22, 2022, 4:18 p.m.