Migration, 2024-03+
After the end of February 2023, the project uses zookeeper for service discovery and migrates to a new docker build system. This is a fairly large change, and requires a few manual migration steps to keep using an existing installation.
Easy way:
Do a clean install somewhere and copy the docker-compose.yml and env/service.env to your existing install.
Hard way:
- Add a zookeeper service to the docker-compose file.
services:
...
zookeeper:
image: zookeeper
container_name: "zookeeper"
restart: always
ports:
- "127.0.0.1:2181:2181"
networks:
- wmsa
-
In the docker-compose file, add an item
zookeeperto thedepends_onforx-svc,x-p1(andx-p2if exists). (this is strictly speaking not necessary, but if you don’t do this you’ll encounter a period of transient connection issues every time you restart the system.) -
In the docker-compose file, remove any health checks from
x-svc,x-p1(andx-p2if exists). -
In the docker-compose file, find and remove any blocks that look like this:
depends_on:
control-service:
condition: service_healthy
-
In
env/service.env: Add a lineZOOKEEPER_HOSTS="zookeeper:2181" -
In
env/service.env: RenameJAVA_OPTStoJDK_JAVA_OPTIONS.