https://github.com/vardumper/ibexa-on-docker
Little helper to set up Ibexa DXP on Docker
https://github.com/vardumper/ibexa-on-docker
Last synced: 2 months ago
JSON representation
Little helper to set up Ibexa DXP on Docker
- Host: GitHub
- URL: https://github.com/vardumper/ibexa-on-docker
- Owner: vardumper
- Created: 2023-07-02T11:56:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T09:58:06.000Z (over 2 years ago)
- Last Synced: 2025-08-14T22:45:05.627Z (10 months ago)
- Language: Dockerfile
- Size: 137 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ibexa DXP on Docker
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](https://support.ibexa.co).
The official documentation has [more details on credentials](https://doc.ibexa.co/en/latest/getting_started/requirements/#ibexa-dxp-credentials).
Store your Ibexa credentials globally `composer config --global http-basic.updates.ibexa.co `.
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 # Installs Ibexa DXP Open Source (default)
composer create-project vardumper/ibexa-on-docker:dev-experience # Installs Ibexa DXP Experience
composer create-project vardumper/ibexa-on-docker:dev-commerce # Installs Ibexa DXP Commerce
composer create-project vardumper/ibexa-on-docker:dev-content # Installs Ibexa DXP Content
```
**Step 2**: Finalizing the installation
```bash
cd # 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 " # 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](http://localhost:8080)
Backend: [http://localhost:8080/admin/login](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