on 2019 Oct 18 2:32 PM
I am trying to create a docker to run hybris.
This is my code:
version: '3.3'
services:
db:
image: mysql:5.6
volumes:
- c:/bd_hybris:/var/lib/mysql
container_name: mysql_hybris
hostname: mysql_hybris
ports:
- "3307:3306"
environment:
- MYSQL_ROOT_PASSWORD=****
- MYSQL_DATABASE=****
- MYSQL_USER=****
hybris:
image: debian:latest
volumes:
- 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/ && ./install.sh -r local setup &&
cd /app/hybris_dev/hybris/bin/custom/platform && ./setantenv.sh &&
ant initialize && ant clean all && ./hybrisserver.sh"
container_name: hybris_dev
hostname: hybris_dev
links:
- db
Can anyone help me with this?
Request clarification before answering.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.