Development environment for EC-CUBE 3.x.
-
Japanese
-
Components
- PHP
- Apache/2.4.10 (Debian)
- PHP 5.4.41
- PostgreSQL
- PostgreSQL 9.2.11
- PHP
This is always build the latest version.
Does not meet the recommended system requirements.
Before build, please check the repository of EC-CUBE 3.x.
-
git clone
-
tag
latest
git clone https://github.com/ysaotome/docker-ec-cube3.git
-
ex) tag
3.0.0-beta
git clone -b 3.0.0-beta https://github.com/ysaotome/docker-ec-cube3.git
-
-
docker build
-
tag
latest
docker build --rm \ -t ysaotome/ec-cube3 \ docker-ec-cube3/
-
ex) tag
3.0.0-beta
docker build --rm \ -t ysaotome/ec-cube3:3.0.0-beta \ docker-ec-cube3/
-
- pulling from docker hub
-
tag
latest
docker pull ysaotome/ec-cube3
-
ex) tag
3.0.0-beta
docker pull ysaotome/ec-cube3:3.0.0-beta
-
-
RUN PostgreSQL Container
docker run -d \ --name cube3dev-postgres \ -e POSTGRES_USER=cube3_dev_user \ -e POSTGRES_PASSWORD=password \ -e POSTGRES_DB=cube3_dev \ postgres:9.2.11
-
RUN EC-CUBE 3.x in Apache & PHP Container
docker run -d \ --name cube3dev \ --link cube3dev-postgres:postgres \ -p 8080:80 \ ysaotome/ec-cube3
-
Check start container
docker logs -f cube3dev . . . Finished Successful!
-
Let's Access in Browser
- ex)
http://localhost:8080/admin
- ID: admin / PW: password
- ex)
-
Enter Container (Development)
docker exec -it cube3dev bash
-
Cleanup
docker stop cube3dev cube3dev-postgres && \ docker rm cube3dev cube3dev-postgres
- This software is released under the MIT License, see LICENSE.txt.