/oxid6-docker

Docker Container with PHP, MariaDB and OXID eShop 6

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Forked from proudcommerce/docker-oxid6: Docker Container with PHP7, MySQL 5.7 and OXID eShop 6

Docker OXID eShop 6

This (linux/osx) setup bootstraps an dockerized developer environment for OXID eShop 6.

Overview

  • Apache Container with PHP
  • MariaDB container
  • MailHog container
  • phpMyAdmin container
  • OXID eShop
  • OXID demo data

Quickstart

  1. Install docker engine
  2. Add 127.0.0.1 oxid6.localhost to your etc/hosts file (if needed eg. windows)
  3. Fire up container
# clone repository:
git clone git@github.com:hreinberger/oxid6-docker.git
cd oxid6_docker
# create container
docker-compose build
# fire up container
docker-compose up

Configuration

Installation

  • Creating oxid project takes round about 5 minutes. It´s finished when docker compose logs --follow shows OXID bootstrap completed!).
  • Shop: http://oxid6.local (or https://oxid6.local with ssl-cert-snakeoil)
  • Shop admin http://oxid6.local/admin/, credentials: admin / admin
  • MailHog: http://oxid6.local:8025
  • phpMyAdmin: http://oxid6.local:8080

Container

  • If you would like to run container in background, use docker-compose up -d for starting container and docker logs -f oxid6_apache for log information (eg. composer information).

Data

  • Data (www and mysql) is storend on host: data directory

Credentials

  • You can change all credentials (domain, ports, database, ...) in .env file.

OXID demo data

  • Normally oxid demo data will be installed automatically.
  • If you need a project without demo data, set OXID_DEMODATA=false in .env file.

Support

There is none, sorry.