This (linux/osx) setup bootstraps an dockerized developer environment for OXID eShop 6.
For OXID 7 have a look here.
- Apache 2.4 container PHP 8.0 (Dockerfile)
- MySQL 5.7 container (Dockerfile)
- MailHog container (Dockerfile)
- phpMyAdmin container (Dockerfile)
- OXID eShop (latest 6.4.x)
- OXID demo data
- Install docker engine
- Add
127.0.0.1 oxid6.localhost
to your etc/hosts file (if needed eg. windows) - Fire up container
# clone repository:
git clone https://github.com/proudcommerce/docker-oxid6.git docker_oxid6
cd docker_oxid6
# create container
docker-compose build
# fire up container
docker-compose up
- Creating oxid project takes round about 5 minutes. It´s finished when docker log shows
OXID bootstrap completed!
). - Shop:
http://oxid6.localhost
(orhttps://oxid6.localhost
with ssl-cert-snakeoil) - Shop admin
http://oxid6.localhost/admin/
, credentials:admin / admin
- MailHog:
http://oxid6.localhost:8025
- phpMyAdmin:
http://oxid6.localhost:8080
- If you would like to run container in background, use
docker-compose up -d
for starting container anddocker logs -f oxid6_apache
for log information (eg. composer information).
- Data (
www
andmysql
) is storend on host:data
directory
- You can change all credentials (domain, ports, database, ...) in
.env
file.
- Normally oxid demo data will be installed automatically.
- If you need a project without demo data, set
OXID_DEMODATA=false
in.env
file.
https://forum.oxid-esales.com/t/docker-container-fur-oxid-6/92282
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
ProudCommerce | 2020 | proudcommerce.com