Skip to content

mariusheise/docker-gsales

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-gsales

This is docker container for running gsales (see www.gsales.de)

Example

Run a mysql container where gsales can connect to

docker run -d \
--name gsales-mysql \
-v /path/to/mysql-data:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=xyz \
-p 3306:3306 \
mysql:5.6

Create a database and user for gsales

CREATE DATABASE gsales;
CREATE USER 'gsales'@'%' IDENTIFIED BY 'PypbytNag9' ;
GRANT ALL ON gsales.* TO 'gsales'@'%' WITH GRANT OPTION ;

Run the gsales container

docker run -d \
--link gsales-mysql:mysql \
-e MYSQL_HOST=mysql \
-e MYSQL_DATABASE=gsales \
-e MYSQL_USER=gsales \
-e MYSQL_PASSWORD=xyz \
-v /path/to/volume/DATA:/var/www/gsales/DATA \
-p 8080:80 \
mariusheise/gsales

About

Docker Image for gsales

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 75.1%
  • Shell 22.4%
  • Makefile 2.5%