10. Initialise a new etc and apply changes
1. Delete the content of your ./etc directory
2. Bump the image version
3. Initalise a pristine etc from the new version with
docker-compose run horizon -i
4. Restore your modified config files and start
11. Merge changes from identified configs
1. Backup files you have modified
2. Merge your modified files, it means check XML schema
changes. Use
https://github.com/opennms/opennms-etc-pristine
with your target version for the merge
14. volumes:
- ./etc-overlay:/opt/opennms-overlay
Overlay Directory
Everything is copied and overwrites files in the directory
/opt/opennms
Use it for files which are not changed from the Web UI
- opennms.properties.d
- Poller Configuration
- Notification Commands
Changes from the Web UI get overwritten on next restart:
- SNMP Communities
- Users, Groups, Destination Paths,
- Notifications, Thresholds, etc.