Skip to content

Docker packaged version of the benkeen/generatedata project

License

Notifications You must be signed in to change notification settings

gnubila-france/docker-generatedata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-generatedata

Docker Pulls

This repository creates a Docker image of a standalone version of generatedata.com (from benkeen/generatedata).

Usage

The easiest is to use docker-compose, I provide a file in the examples folder:

~$ wget https://raw.githubusercontent.com/mvisonneau/docker-generatedata/master/examples/docker-compose.yml
~$ docker-compose up -d

In a few seconds/minutes, you will have a fully working version available at http://localhost:8000

Configuration

You can use the following environment variables in order to configure the container:

Name Required Description
GD_DB_HOSTNAME true MySQL database endpoint
GD_DB_NAME true MySQL database name
GD_DB_USERNAME true MySQL database user
GD_DB_PASSWORD true MySQL database password
GD_DB_TABLE_PREFIX false MySQL database table prefix (default: gd_)
GD_ENCRYPTION_SALT false Encryption Salt (default: changeme)

Example using an external database:

~$ docker run -it -p 8000:80 \
     -e GD_DB_HOSTNAME=myinstance.123456789012.eu-west-1.rds.amazonaws.com \
     -e GD_DB_NAME=generatedata \
     -e GD_DB_USERNAME=foo \
     -e GD_DB_PASSWORD=bar \
     mvisonneau/generatedata

Contribute

Contributions are more than welcome! Feel free to submit a PR.

About

Docker packaged version of the benkeen/generatedata project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 70.2%
  • Shell 29.8%