Feature: database choice between HSQLDB, Oracle, MySQL and PostgreSQL as environment variable

This commit is contained in:
fecaille
2016-04-08 13:58:07 +02:00
parent 3380efa377
commit 6b9b2bb964
5 changed files with 54 additions and 16 deletions

View File

@@ -3,9 +3,10 @@
Create a xwiki instance with jetty webserver
Use the following ENV when running :
- MYSQL_USER : the mysql user
- MYSQL_PASSWORD : the mysql password
- MYSQL_HOST : the hostname of the linked database container
- DB_TYPE : the type of database. Supported databases : HSQLDB / Oracle / MySQL / PostgreSQL. HSQLDB is stored in the folder defined by the XWiki environment.permanentDirectory variable.
- DB_USER : the database user (not needed for HSQLDB)
- DB_PASSWORD : the database password (not needed for HSQLDB)
- DB_HOST : the hostname of the linked database container (not needed for hsqldb)
- WIKI_CONTEXT : the context of the website (ROOT for no context)
- ADMIN_EMAIL : the email of the administrator
- SMTP_HOST : smtp host to send email from