Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这么多镜像 Tag 不知道该用哪个 #36

Open
hueralin opened this issue Aug 16, 2023 · 4 comments
Open

这么多镜像 Tag 不知道该用哪个 #36

hueralin opened this issue Aug 16, 2023 · 4 comments

Comments

@hueralin
Copy link

No description provided.

@hueralin
Copy link
Author

纯小白,想用最简单的方式,快速部署一个博客

@joyqi
Copy link
Member

joyqi commented Aug 18, 2023

我想你可以把你自己的需求详细描述一下,以及你现在所拥有的资源情况。

@hueralin
Copy link
Author

好的,一台普通的云服务器,CentOS 7,1 核 2G,目前有 nginx 和 mysql (均非容器)在跑,不想自己配置环境,想用 docker run 直接起一个最新版本的 typecho,连上自己的 mysql,并使用 nginx 反向代理一下。谢谢~

@Dev-Wiki
Copy link

Dev-Wiki commented Mar 5, 2024

我目前使用的:

version: '3'

services:    
  typecho-server:
    image: joyqi/typecho:1.2.1-php7.4-apache
    volumes:
      - /share/Docker/blog_typecho/installer:/app 
      - /share/Docker/blog_typecho/:/app/usr
    environment:
      TIMEZONE: Asia/Shanghai
      TYPECHO_INSTALL: 0
      MEMORY_LIMIT: 100m
      MAX_POST_BODY: 51m
      TYPECHO_SITE_URL: https://blog.devwiki.net
    ports:
      - "2061:80"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants