Skip to Content

How to create docker compose for hybris commerce

I am trying to create a docker to run hybris.

This is my code:

version: '3.3'

    image: mysql:5.6
      - c:/bd_hybris:/var/lib/mysql
    container_name: mysql_hybris
    hostname: mysql_hybris
      - "3307:3306"
      - MYSQL_DATABASE=****
      - MYSQL_USER=****
    image: debian:latest
      - c:/Hybris:/app/hybris_dev/
    command: bash -c "cd /app/hybris_dev/installer && rm -R recipes &&
                      cp -r /app/hybris_dev/hybris/bin/custom/recipes /app/hybris_dev/intaller/ &&
                      cd /app/hybris_dev/intaller/ && ./ -r local setup &&
                      cd /app/hybris_dev/hybris/bin/custom/platform && ./ &&
                      ant initialize && ant clean all && ./"
    container_name: hybris_dev
    hostname: hybris_dev
      - db

Can anyone help me with this?

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.