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, ...