https://github.com/krayin/krayin-docker
https://github.com/krayin/krayin-docker
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/krayin/krayin-docker
- Owner: krayin
- Created: 2024-09-20T06:20:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-20T10:18:45.000Z (about 1 year ago)
- Last Synced: 2025-06-19T12:08:46.313Z (4 months ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 7
- Watchers: 0
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Krayin Dockerization
## Introduction
[Krayin CRM](https://krayincrm.com) is a hand tailored CRM framework built on some of the hottest opensource technologies
such as [Laravel](https://laravel.com) (a [PHP](https://secure.php.net/) framework) and [Vue.js](https://vuejs.org)
a progressive Javascript framework.**Free & Opensource Laravel CRM solution for SMEs and Enterprises for complete customer lifecycle management.**
**Read our documentation: [Krayin CRM Docs](https://devdocs.krayincrm.com/)**
**We also have a forum for any type of concerns, feature requests, or discussions. Please visit: [Krayin CRM Forums](https://forums.krayincrm.com/)**
### Requirements:
* **Krayin**: v2.0.0 or higher.
### What is Docker?
Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. Docker can also be used for defining and running multi-container Docker applications using Docker-Compose tool.
With the help of docker-compose, one can define containers to be built, their configuration, links, volumes, ports etc in a single file and it gets launched by a single command. One can add multiple servers and services just by adding them to docker-compose configuration file. This configuration file is in YAML format.
## System Requirements
- System/Server requirements of Krayin are mentioned [here](https://github.com/krayin/laravel-crm?tab=readme-ov-file#requirements). Using Docker, these requirements will be fulfilled by docker images of apache & mysql, and our application will run in a multi-tier architecture.
- Install latest version of Docker and Docker Compose if it is not already installed. Docker supports Linux, MacOS and Windows Operating System. Click [Docker](https://docs.docker.com/install/) and [Docker Compose](https://docs.docker.com/compose/install/) to find their installation guide.
## Installation
- Adjust your Apache, MySQL and PHPMyAdmin port.
~~~yml
version: '3.1'services:
krayin-php-apache:
build:
args:
container_project_path: /var/www/html/
uid: 1000 # add your uid here
user: $USER
context: .
dockerfile: ./Dockerfile
image: krayin-php-apache
ports:
- 80:80 # adjust your port here, if you want to change
volumes:
- ./workspace/:/var/www/html/krayin-mysql:
image: mysql:8.0
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_HOST: '%'
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306 # adjust your port here, if you want to change
volumes:
- ./.configs/mysql-data:/var/lib/mysql/krayin-phpmyadmin:
image: phpmyadmin:latest
restart: always
environment:
PMA_HOST: krayin-mysql
PMA_USER: root
PMA_PASSWORD: root
ports:
- 8080:80 # adjust your port here, if you want to changevolumes:
mysql-data:
~~~- Run the below command and everything setup for you,
~~~sh
sh setup.sh
~~~## After installation
- To log in as admin.
~~~text
http(s)://your_server_endpoint/admin/loginEmail: admin@example.com
Password: admin123
~~~In case of any issues or queries, raise your ticket at [Webkul Support](https://webkul.uvdesk.com/en/customer/create-ticket/).