The files in this repo accompany the "Running Axon Server" Blog series.
- 1-local contains scripts and configuration files for running Axon Server as a local process.
- 2-docker contains the files for "pure" Docker.
- 3-k8s is all about Kubernetes deployments.
- The ee-image directory (under "2-docker") contains the files for making an Axon Server EE Docker image.
- Finally, the Axon Server QuickTest directory provides a small app to verify that Axon Server is up and running.
Please make sure a copy of the JAR files is in this (central) directory, named:
- The Axon Server SE jar file "
axonserver.jar
" - The Axon Server CLI jar file "
axonserver-cli.jar
"
If you're working with Axon Server Enterprise Edition, you'll also need:
-
The Axon Server EE jar file "
axonserver-ee.jar
". -
A valid license file "
axoniq.licensse
". -
A system token file "
axonserver-token
". Generate one using:uuidgen > axonserver.token
There are some scripts that make life easy and will be repeated over several of the directories:
- "
startup.sh
" will start Axon Server. - "
shutdown.sh
" will stop Axon Server. - "
cleanup.sh
" will clean the Axon Server created files.
For clusters, the start and stop scripts expect the name of the node as parameter, cleanup will wipe all nodes.