This commit is contained in:
Eric van der Vlist 2019-04-09 23:42:01 +02:00
parent 380875a4f1
commit 1e1c5d302b
1 changed files with 19 additions and 4 deletions

View File

@ -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-jdbc-driver> mysql/tomcat/lib/
$ cp <postgres-jdbc-driver> postgres/tomcat/lib/
$ cp <my-licence-file> 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-jdbc-driver> 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-jdbc-driver> postgres/tomcat/lib/
$ cp <my-licence-file> 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, ...