vardumper/ibexa-on-docker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vardumper/ibexa-on-docker

最新稳定版本:0.1.1

Composer 安装命令:

composer create-project vardumper/ibexa-on-docker

包简介

Ibexa on Docker

README 文档

README

This helper repository sets up a new Ibexa DXP project for you with a pre-made Docker configuration to get you started quicker. The official Ibexa meta package installation is executed during install. Ibexa will be placed in the app folder. This repository acts as a wrapper that includes a docker development configuration around it.

Requirements

  • Docker installed and running (brew install --cask docker)
  • Composer installed (brew install node)
  • Node (brew install node) and Yarn installed (npm install --global yarn)

Getting started

During installation, you will be prompted to enter your Ibexa credentials. You can get them in Ibexa's support panel. The official documentation has more details on credentials.

Store your Ibexa credentials globally composer config --global http-basic.updates.ibexa.co <installation-key> <token-password>. You will need to repeat this step (see below) inside the PHP container, so that composer can install additional dependencies or fetch updates.

Installation

Step 1: Pick one flavour of Ibexa. Exceute one of the following commands:

composer create-project vardumper/ibexa-on-docker <my-folder> # Installs Ibexa DXP Open Source (default)
composer create-project vardumper/ibexa-on-docker:dev-experience <my-folder> # Installs Ibexa DXP Experience
composer create-project vardumper/ibexa-on-docker:dev-commerce <my-folder> # Installs Ibexa DXP Commerce
composer create-project vardumper/ibexa-on-docker:dev-content <my-folder> # Installs Ibexa DXP Content

Step 2: Finalizing the installation

cd <my-folder> # change into the project folder
docker-compose up -d # this will start the containers
docker exec ibexa-php /bin/bash -c "cd /app;composer config --global http-basic.updates.ibexa.co <installation-key> <token-password>" # stored credentials in php container
docker exec ibexa-php /bin/bash -c "cd /app;composer req predis/predis" # add required package for redis
docker exec ibexa-php /bin/bash -c "cd /app;php bin/console ibexa:install" # initialize database, run migrations, finalize setup

Accessing the site

Frontend: http://localhost:8080 Backend: http://localhost:8080/admin/login The default credentials are username admin and password publish.

Whats included

As a personal preference I am using the bitnami images for Nginx, PHP and MariaDB.

  • Nginx v1.24.0
  • PHP-FPM v8.2.7
  • MariaDB v10.8.8
  • Elasticsearch v8.8.2
  • Redis v6.2

Making adjustments

If you want to run the containers on different ports, you can do so by adjusting the docker-compose.yml file. If you want to use different container images, feel free to make your adjustments in the docker-compose.yml file, as well.

It's yours

The project you just created is yours. It has already been initialized

统计信息

  • 总下载量: 70
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: Dockerfile

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-07-05