Public Repository

Last pushed: a year ago
Short Description
Business Management System
Full Description

Running image directly

$ docker run -d -p 80:80 -v bgerp_uploads:/app/uploads -v bgerp_data:/var/lib/mysql -v bgerp_mysql_config:/etc/mysql stvvt/bgerp

 
If port 80 of the docker host is not available (or you don't want to use it), just replace the first "80" with the desired port. For example, to run bgERP on port 4321, use

$ docker run -d -p 4321:80 -v bgerp_uploads:/app/uploads -v bgerp_data:/var/lib/mysql -v bgerp_mysql_config:/etc/mysql stvvt/bgerp

 
If you do this, the bgERP will be accessible at http://localhost:4321

Using docker-compose

Create new empty directory and place there a file named docker-compose.yml with the following content:

version: '2'

services:

    bgerp:
        image: stvvt/bgerp
        ports:
            - "80:80"
        volumes:
            - uploads:/app/uploads
            - data:/var/lib/mysql
            - mysql:/etc/mysql

volumes:
    uploads:
        driver: local
    data:
        driver: local
    mysql_config:
        driver: local

 
Then (from within the new directory) issue command

$ docker-compose up -d

 
Either way you will get bgERP installed, along with all software required for its proper functioning. Just navigate to http://localhost to start bgERP configuration.

Docker Pull Command
Owner
stvvt

Comments (0)