|
преди 4 години | |
---|---|---|
custom | преди 5 години | |
embedded-exist | преди 5 години | |
mysql | преди 4 години | |
postgres | преди 4 години | |
secrets | преди 5 години | |
.gitignore | преди 4 години | |
Dockerfile | преди 5 години | |
Dockerfile-mysql | преди 5 години | |
Dockerfile-postgres | преди 4 години | |
README.md | преди 4 години | |
docker-compose-ce.yml | преди 4 години | |
docker-compose-embedded-exist.yml | преди 5 години | |
docker-compose-mysql.yml | преди 5 години | |
docker-compose-pe.yml | преди 4 години | |
docker-compose-postgres.yml | преди 4 години |
A naive attempt to build docker images for Orbeon Forms
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 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.