Commit Graph

22 Commits (optional-sql-files)

Author SHA1 Message Date
Matthew Vivian 9b431a5c90
feat: add optional SQL directory for utility scripts
Utility SQL scripts for debugging, performance testing, and scenario recreation shouldn't run automatically but should be available in the repository for developers to use when needed.

The optional/sql/ directory holds these scripts separately from
deployment-specific sql/ directories, which are mounted to PostgreSQL's docker-entrypoint-initdb.d. This avoids duplicating utility scripts across deployments whilst keeping them discoverable.

Each script includes a header with compatibility information and usage instructions. Users can either copy files to their deployment's sql/ directory for automatic execution on fresh start, or run them manually against a running database.
2025-12-04 13:12:35 +00:00
Matthew Vivian 711a23b073 feat: enable Java remote debugging on all Openfire containers
Adds JDWP debug agent configuration to all deployment options, exposing
debug ports on localhost (5005 for xmpp1, 5006 for xmpp2, etc.). The
agent runs in non-blocking mode (suspend=n) so containers start normally
without waiting for a debugger - there's no impact on regular usage.

This reduces friction for developers who frequently need to debug
Openfire, eliminating the need to maintain local uncommitted changes
or remember JDWP syntax.
2025-12-04 12:55:43 +00:00
Matthew Vivian 15eb9b18e3 docs: document deployment options and SQL naming convention
The root README lacked an overview of what each deployment directory
provides, making it harder for new users to choose the right setup
for their testing scenario.

Adds a "Deployment Options" table summarising simple, federation,
cluster, cluster_with_federation, and proxy configurations.
2025-12-04 12:41:23 +00:00
Matthew Vivian 005e0edb4a docs: document SQL initialisation script naming convention
Adds a section to the root README explaining the numeric prefix convention for SQL files (000-, 001-, etc.) and how PostgreSQL executes them alphabetically from /docker-entrypoint-initdb.d.

This helps contributors understand how to add custom SQL scripts whilst ensuring correct execution order relative to the schema initialisation.
2025-12-04 12:41:23 +00: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
Guus der Kinderen 3ca709e849 Augmented documentation for 'other domain' 2021-09-22 13:43:36 +02:00
Dan Caseley f9e219d8fc
Add third Openfire node to the cluster 2021-08-04 20:50:44 +01:00
Dan Caseley f50389a943 Fix markdown linting in README 2020-12-01 22:18:50 +00:00
Dan Caseley 40242a9b92 Update readme to include load balancer 2020-12-01 22:11:04 +00:00
Dan Caseley 919bedaa20
Merge pull request #20 from guusdk/doc-add-bosh
doc: add Bosh ports to readme
2020-11-21 15:23:21 +00:00
Guus der Kinderen 1c457e05ff doc: add Bosh ports to readme 2020-11-20 16:57:38 +01:00
Matthew Vivian 687de12f94
Expose DB ports & expand README 2020-11-17 12:46:15 +00:00
Dan Caseley 7b7176452b Update README to reflect change in docker tags 2020-11-17 11:12:19 +00:00
Matthew Vivian f22ad49ed1
Add clustering support, fixes #16 2020-11-12 15:54:44 +00:00
Matthew Vivian a4967feecb
Fixed copy/paste errors in readme 2020-10-05 09:31:10 +01:00
Dominic Kua 8f3af2584d
Merge pull request #8 from surevine/expose-s2s-port
Expose S2S ports from xmpp1 (5261) and xmpp2 (5262)
2020-06-02 09:25:14 +01:00
Matthew Vivian c91d2b5657 Re-built initialisation data
- Added MUC rooms to XMPP 2
- Fixed TLS certs to match hostnames
- Renamed XMPP 2 users user3 and user4 (instead of user1 and user2)
2020-05-29 12:21:12 +02:00
Matthew Vivian 8f55386a4e
Expose S2S ports from xmpp1 (5261) and xmpp2 (5262) 2020-05-29 10:04:34 +01:00
Matthew Vivian b190188b9d
Use distinct XMPP domain names 2020-05-20 12:07:56 +01:00
Matthew Vivian aa0ab9cf68
Added docker image info 2020-05-18 10:30:02 +01:00
Matthew Vivian e35ead7303
Added two node example 2020-05-15 11:32:57 +01:00