Code Monkey home page Code Monkey logo

deskpro-docker's Introduction

What is DeskPRO?

DeskPRO is the modern helpdesk platform. It offers a ticket system, user help portal, real-time chat, CRM, crowdsourced feedback, file-hosting and more. The extensible platform integrates easily with your existing email accounts and website, your SSO infrastructure and third-party services. Unparalleled usability and flexible configuration mean that your agents can concentrate on helping users.

DeskPRO.com

logo

How to use this image

You can choose from the two available variants: apache or fpm. The first comes with Apache preinstalled, while the second one runs php-fpm, which means you'll need something that speaks FCGI (such as nginx) in front of it.

In order to run DeskPRO, you'll need to run two containers from this image: one for the web interface and one for the periodic tasks. They have to share a volume containing the DeskPRO codebase. If running manually, it can look like the following:

$ docker volume create deskpro
$ docker run [...] --volume deskpro:/var/www/html deskpro/deskpro:apache
$ docker run [...] --volume deskpro:/var/www/html deskpro/deskpro:apache deskpro-docker-cron

It's also required to set a few environment variables:

  • MYSQL_HOST: the hostname/IP address of the desired MySQL database host
  • MYSQL_USER: the username to connect to MySQL as
  • MYSQL_PASSWORD: the password for the username described above
  • MYSQL_DATABASE: the database name to connect to

Please ensure that the target database is empty, otherwise DeskPRO won't perform the installation to avoid overwriting any data.

The easiest way to try this image is with a docker-compose.yml file such as below:

---
version: '2'
services:
  deskpro:
    image: deskpro/deskpro:apache
    depends_on:
      - mariadb
    environment:
      MYSQL_HOST: mariadb
      MYSQL_USER: deskprouser
      MYSQL_PASSWORD: deskpropassword
      MYSQL_DATABASE: deskprodb
    ports:
      - "80:80"
    volumes:
      - deskpro:/var/www/html
  cron:
    image: deskpro/deskpro:apache
    command: deskpro-docker-cron
    depends_on:
      - deskpro
      - mariadb
    volumes:
      - deskpro:/var/www/html
  mariadb:
    image: mariadb
    environment:
      MYSQL_ROOT_PASSWORD: mysqlrootpassword
      MYSQL_DATABASE: deskprodb
      MYSQL_USER: deskprouser
      MYSQL_PASSWORD: deskpropassword
volumes:
  deskpro:

Testing

If you wish to work on the image itself, there's two files that'll allow you to run Deskpro with docker-compose:

  • docker-compose-test-fpm.yml: uses php-fpm and nginx
  • docker-compose-test-apache.yml: uses Apache

Use them with docker-compose -f filename.yml.

For actual usage of the image, check the previous section.

deskpro-docker's People

Contributors

fcoelho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.