suitecrm-web

Suitecrm Web Docker Image

基于PHP8.1和Apache优化的SuiteCRM7镜像,支持完整SSL/HTTPS安全,提供含数据持久化、健康检查的Docker化部署配置,便于快速搭建SuiteCRM7.15.0客户关系管理系统。

下载次数: 0状态:社区镜像维护者:sanjayraja600仓库类型:镜像最近更新:
下载命令
点击查看

SuiteCRM 7 Docker Setup Dockerize the existing SuiteCRM 7.15.0 project so it can be built and run via docker-compose up. The current Dockerfile is incomplete (missing many required PHP extensions, no permissions setup, no PHP config tuning) and the docker-compose.yml lacks data persistence and proper service linking.

Proposed Changes Docker Configuration [MODIFY] Dockerfile Rewrite the Dockerfile to:

Use php:8.1-apache base image (keep existing) Install all PHP extensions SuiteCRM 7 requires: gd, imap, zip, mbstring, intl, soap, bcmath, mysqli, pdo_mysql, opcache, exif, ldap, curl Install system dependencies for those extensions (libc-client-dev, libkrb5-dev, libfreetype6-dev, libjpeg62-turbo-dev, libicu-dev, libldap2-dev, etc.) Configure PHP settings (upload_max_filesize, post_max_size, memory_limit, max_execution_time) via a custom php.ini Enable Apache mod_rewrite Copy the SuiteCRM/ subdirectory contents to /var/www/html/ Set correct ownership (www-data:www-data) and permissions on writable directories (cache/, custom/, modules/, upload/, config.php, etc.) Expose port 80 [MODIFY] docker-compose.yml Update to:

Add named volumes for MySQL data persistence (suitecrm-db-data) Add healthcheck on the DB so the web container waits for MySQL to be ready Add restart: always on both services Remove the nginx.conf (not needed since we use Apache directly) [NEW] .dockerignore Exclude .git, certbot/, readme.txt, nginx.conf, and other non-essential files from the build context.

[NEW] suitecrm-control.sh Shell script referenced in readme.txt for start/stop/restart/logs/status commands wrapping docker-compose.

Verification Plan Automated Tests Build the Docker image: docker-compose build — must complete without errors Start the containers: docker-compose up -d — both suitecrm-db and suitecrm-web must be running Check container health: docker ps — verify both containers show as "Up" Manual Verification Open [***] in a browser — you should see the SuiteCRM installer page Complete the SuiteCRM installation wizard, entering the database credentials (host: db, user: suitecrm, password: suitecrm, database: suitecrm) After installation, verify the SuiteCRM dashboard loads correctly

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 suitecrm-web 镜像标签

docker pull docker.xuanyuan.run/sanjayraja600/suitecrm-web:<标签>

DockerHub 原生拉取命令

docker pull sanjayraja600/suitecrm-web:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告