From 1e1c5d302b07cabb2012c0519cd1df088949a212 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Tue, 9 Apr 2019 23:42:01 +0200 Subject: [PATCH] Doc --- README.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc500a6..486e2ac 100644 --- a/README.md +++ b/README.md @@ -27,15 +27,30 @@ $ docker-compose -f docker-compose-ce.yml -f docker-compose-mysql.yml up To create an image of Orbeon PE using a MySQL image as its persistence layer: ``` -$ cp mysql/tomcat/lib/ +$ cp postgres/tomcat/lib/ $ cp secrets/license.xml -$ docker-compose -f docker-compose-pe.yml -f docker-compose-mysql.yml up +$ docker-compose -f docker-compose-pe.yml -f docker-compose-postgres.yml up ``` +To create an image of Orbeon CE using a Postgres image as its persistence layer: + +``` +$ cp postgres/tomcat/lib/ +$ docker-compose -f docker-compose-ce.yml -f docker-compose-postgres.yml up +``` + +To create an image of Orbeon PE using a Postgres image as its persistence layer: + +``` +$ cp postgres/tomcat/lib/ +$ cp secrets/license.xml +$ docker-compose -f docker-compose-pe.yml -f docker-compose-postgres.yml up +``` + ## TODO -* Download the MySQL JDBC driver at build time -* Download the Orbeon MySQL database create script at build time +* Download JDBC drivers at build time (with the current version they need to be manually downloaded before the build) +* Download the Orbeon database create scripts at build time (in the current version they are included in this repo) * Support other persistence layers * Use secrets for database credentials * Support modes, authentication, ...