download_docker

download_docker_1

Docker Hub

download_docker_2 https://github.com/phalcon/dockerfiles.

Phalcon Compose

download_docker_3 Docker Engine >= 1.10.0 download_docker_4 Docker Compose >= 1.6.2

download_docker_5

download_docker_6

download_docker_7 /home/website. download_docker_8

composer create-project sergeyklay/phalcon-compose --prefer-dist /home/website
download_docker_9

download_docker_10

download_docker_11 variables.env download_docker_12 /home/website. download_docker_13 variables.env.example.

cd /home/website
cp variables.env.example variables.env
nano variables.env
download_docker_14 WEB_ALIAS_DOMAIN. download_docker_15 phalcon.local.

download_docker_16

127.0.0.1 phalcon.local

docker-compose.yml

download_docker_17

download_docker_18

download_docker_19

docker-compose build
download_docker_20

download_docker_21

download_docker_22

cd /home/website
docker-compose up -d

download_docker_23

download_docker_24

download_docker_25

cd /home/website
docker-compose down
download_docker_26 https://phalcon.link/compose