GithubHelp home page GithubHelp logo

snezhig / bitrix-docker Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 3.0 44 KB

Simple docker for fast development in bitrix

License: MIT License

Dockerfile 65.92% Shell 34.08%
docker bitrix docker-compose development-environment bitrix-cms bitrix24

bitrix-docker's Introduction

Bitrix-Docker starter

The simple docker compose which has some containers for install bitrix and test it

This docker using for dev, not for production

Table of Contents

Features

  • Configure php version 7.x by .env file
  • Mailhog for mail test
  • Cron is enabled
  • Download bitrixsetup to install bitrix
  • Works from box in 90%

Installation

Step 1

  • Create a project dir mkdir bxproject && cd ./bxproject
  • Clone the repository to have docker separate
 git clone https://github.com/Snezhig/docker-compose-starter.git bxdocker
  • Go to repository cd ./bxdocker

Step 3

  • Make init.sh executable chmod +x init.sh

Step 4

  • Run init script ./init.sh
  • It will create .env for docker-compose and ask you to type some paths
//parent dir by default, because i prefer have docker separate from project

# Type the project path: *********
# Type the project name: *********
# Type the domain for project: *********
# Type the path to docker data: *********
# Type the log path: *********
# Download bitrix_setup.php? Y
# File is downloaded.

Step 5

  • Check .env file and correct it if need
  • In case you need cron put path to bitrix in ./images/php/cron.d/www

Step 6

  • Build the docker
docker-compose up --build -d
  • Then you can open http://localhost and see php info

Step 7

  • Install bitrix in public directory as you wish

Support

I will be glad for your remarks about configuration and decor of readme


License

License

bitrix-docker's People

Contributors

snezhig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.