# php-docker-compose **Repository Path**: theegg/php-docker-compose ## Basic Information - **Project Name**: php-docker-compose - **Description**: php + mysql + redis + nginx + elasticsearch + kibana - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-05-02 - **Last Updated**: 2023-05-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 创建初始化目录 - mkdir /data - mkdir /data/www - chmod -R 777 /data ### 拉取docker-compose项目 - cd /data - git clone xxxx/docker-compose dockerspace - cd dockerspace - sudo docker-compose up -d ### 拉取业务项目 - cd /data/www - git clone xxxxx/trip trip - cd trip - composer update - cp .env.example .env - chmod -R 777 ../trip - php artisan migrate --seed (数据库需要配置好)