To run the compose file both events.json and users.json needs to be files that exist as otherwise docker compose will create them as directories and the application will not work.
Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)