Commit Graph

18 Commits (master)

Author SHA1 Message Date
Dan Caseley 460fc98fc0 Add config to allow for GitHub Packages instead 2025-02-12 10:00:49 +01:00
Matthew Vivian 9d99ddbc8c refactor: rename openfire.sql to clarify execution order
Renamed openfire.sql to 000-init-openfire.sql to make the initialisation order explicit in the filename. This helps when adding additional SQL scripts that need to run after the schema is created, as PostgreSQL executes files in /docker-entrypoint-initdb.d alphabetically.

The new openfire-integration-test repo uses this openfire-docker-compose repository as a base (using git submodules) for its tests but needs to reconfigure Openfire via the database before startup. To do this it overlays additional SQL files into this openfire-docker-compose repository's sql folders so they are run on startup. It has had to prefix its new SQL file with zz- to make sure it runs after the initialisation SQL file in our repository. This change should make future similar uses less complex/error-prone.
2025-01-07 13:41:20 +00:00
Guus der Kinderen 96bcd89c95 [chore] Remove obsolete version attribute from docker-compose yml files
Fixes warnings like these:
```
WARN[0000] openfire-docker-compose/cluster/docker-compose-clustered.yml: `version` is obsolete
```
2024-12-03 10:36:38 +00:00
Guus der Kinderen b414916115 Set to TRACE logging by default (other envs)
Apply the change from fccc3303e4 to all other environments.
2024-11-21 14:09:03 +01:00
mjones216 3aac76fdcf
Merge pull request #68 from guusdk/hazelcast-5.5.0
Clustering: use Hazelcast 5.5.0
2024-11-12 10:16:26 +00:00
Guus der Kinderen 558666b591 Fix IPv6 configuration in nginx.conf files
fixes #69
2024-11-07 12:22:48 +01:00
Guus der Kinderen 93ed45f72a Clustering: use Hazelcast 5.5.0
This updates the configuration to use a SNAPSHOT build of the Hazelcast plugin 5.5.0-1, and updated its configuration files accordingly.

Note that this requires Openfire (the container) to use Java 17 or later.
2024-11-05 20:37:43 +01:00
Guus der Kinderen 2488798304 Ipv6: Add `java.net.preferIPv6Addresses` property
Based on feedback from the Hazelcast community, this adds a Java networking property to help use Hazelcast use IPv6.
2024-11-05 09:47:10 +00:00
Guus der Kinderen 3b4862328b Add dualstack support
This adds support for IPv6, by giving all `start.sh` scripts an `-6` argument, that causes a dualstack configuration to be loaded.

Each individual docker-compose file has been split out. Now, each file no longer defines any networking. Instead, one of two networking fragments is expected to be merged in.

When starting Openfire, a Hazelcast configuration option is passed through to the Openfire process to denote preference for IPv4 or IPv6. This passing through depends on the change in Openfire, that is introduced by 2634d4a83a

Minor other changes have been applied, that mostly make the start scripts more consistent amongst each-other.

fixes #61
2024-11-05 09:47:10 +00:00
Guus der Kinderen c01a940638 Update the Hazelcast plugin (clustering) to version 3.0.0
This plugin requires Openfire 4.8.1 or later.

fixes #63
2024-10-16 17:12:41 +02:00
Dan Caseley 46d4fa34db For federation, add self-signed certs to each other's truststore 2024-02-21 15:52:51 +01:00
Dan Caseley 7baa48e888 Fix federated domain plugin loading 2022-07-27 14:47:41 +02:00
Dan Caseley f9e5e43506 Fix stop errors 2022-07-27 14:47:41 +02:00
Dan Caseley 5742077a93 Fix popd noise 2022-07-27 14:47:41 +02:00
Dan Caseley 438c9ec933 Fixes 2022-07-27 14:47:41 +02:00
Dan Caseley 097d29d8f5 Update scripts. More reliable stop, and mitigate #18 2022-07-27 14:47:41 +02:00
Dan Caseley 7caafe6056 Fix READMEs 2022-07-27 14:47:41 +02:00
Dan Caseley c5ff481255 Move all the files into purpose-defined subdirectories 2022-07-27 14:47:41 +02:00