LoginSignup
0
1

More than 5 years have passed since last update.

Docker Compose で eZ Platform を起動する

Last updated at Posted at 2017-10-21

なんだかんだとセットアップが手間な eZ Platform ですが、実は Docker Compose で手軽に起動できる YAML ファイルが用意されています。

通常のインストール手順は以下から参照してください。
https://qiita.com/tags/ezplatform

構築環境

  • CentOS 7.4.1708 (minimal)
    • Docker 17.12.1
    • Docker Compose 1.19.0

Docker / Docker Compose

CentOS 7.4.1708 に Docker 17.12.1 と Docker Compose 1.19.0 をインストールします。

yum -y install epel-release && yum -y update && yum -y install yum-{axelget,plugin-rpm-warm-cache,utils} && \
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo && \
yum -y install docker-ce && systemctl start docker && systemctl enable $_ && \
curl -L $(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep download_url | grep 'Linux-x86_64"' | cut -d'"' -f4) \
 -o /usr/local/bin/docker-compose && chmod +x $_

eZ Platform

doc/docker/README.md に基づいてセットアップします。

ver=1.12.2 && \
curl -LO https://github.com/ezsystems/ezplatform/archive/v${ver}.tar.gz && \
tar xf v${ver}.tar.gz && chmod -R 777 ezplatform-${ver} && cd $_ && \
docker-compose -f doc/docker/install.yml up --abort-on-container-exit && \
docker-compose up -d --force-recreate && \
docker-compose ps

以上で http://192.168.56.101:8080/ でアクセスできるようになります。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1