在Docker中安装Strapi v4(避免使用旧镜像 🐳)

All I wanted was to launch a nice little Strapi inside a Docker container. I type docker-compose up... and BAM → Strapi v3 😮. “But… I asked for Strapi 4?!” Spoiler: the official Docker image...

在Docker中运行Strapi v4,首先创建本地项目,使用Node.js作为基础镜像,编写docker-compose.yml文件配置Postgres数据库,最后启动Docker,避免使用旧的strapi/strapi镜像。

在Docker中安装Strapi v4(避免使用旧镜像 🐳)
原文英文,约500词,阅读约需2分钟。发表于:
阅读原文