1
0
Derivar 0
Ir para o ficheiro
Eric van der Vlist ce20d1e740 Documentation 2019-04-17 17:11:05 +02:00
custom Adding support for custom files 2018-02-16 13:14:23 +01:00
embedded-exist Adding README files to avoid empty directories 2018-02-16 15:09:51 +01:00
mysql Versions 2018.2 (mysql) 2019-04-09 23:30:47 +02:00
postgres Postres support 2019-04-09 23:37:32 +02:00
secrets Adding README files to avoid empty directories 2018-02-16 15:16:37 +01:00
.gitignore Documentation 2019-04-17 17:11:05 +02:00
Dockerfile Adding support for custom files 2018-02-16 13:14:23 +01:00
Dockerfile-mysql Supporting CE and PE and MySQL as well as embedded eXist 2018-02-15 17:59:24 +01:00
Dockerfile-postgres Postres support 2019-04-09 23:37:32 +02:00
README.md Documentation 2019-04-17 17:11:05 +02:00
docker-compose-ce.yml Versions 2018.2.1 (CE) and 2018.2.2 (PE) 2019-04-09 23:18:35 +02:00
docker-compose-embedded-exist.yml Supporting CE and PE and MySQL as well as embedded eXist 2018-02-15 17:59:24 +01:00
docker-compose-mysql.yml Supporting CE and PE and MySQL as well as embedded eXist 2018-02-15 17:59:24 +01:00
docker-compose-pe.yml Versions 2018.2.1 (CE) and 2018.2.2 (PE) 2019-04-09 23:18:35 +02:00
docker-compose-postgres.yml Documentation 2019-04-17 17:11:05 +02:00

README.md

Docker for Orbeon

A naive attempt to build docker images for Orbeon Forms

Currently working

To create an image of Orbeon CE using its embedded eXist database as its persistence layer:

$ docker-compose -f docker-compose-ce.yml -f docker-compose-embedded-exist.yml up

To create an image of Orbeon PE using its embedded eXist database as its persistence layer:

$ cp <my-licence-file> secrets/license.xml
$ docker-compose -f docker-compose-pe.yml -f docker-compose-embedded-exist.yml up

To create an image of Orbeon CE using a MySQL image as its persistence layer:

$ cp <mysql-jdbc-driver> mysql/tomcat/lib/
$ 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 <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

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

Timezones

Timezones can be tricky to configure using Docker (and docker-compose).

A common way to copy the host timezone in your containers is to share /etc/timezone as a volume:

    volumes:
      - "/etc/timezone:/etc/timezone:ro"

This requires, of course, that both your host and the containers relies on this configuration file.

TODO

  • 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, ...
  • Add user directories
  • ...