-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker container doesn't sync data-configuration.yml on start of OpenTAXII image #127
Comments
Hey! This might have been an oversight when we were overhauling the Dockerfile and stuff. It should be fixed now, thanks for the report! |
Thanks @andreasEIQ . It works now. Any plans to update Dockerhub image? |
It should've updated automatically, I guess some of our integrations aren't working properly. |
It's updated now. Thanks a ton. Also I'm curious to know how you guys setup those integrations? Would love to explore that. |
Docker hub provides a URL you can POST to to trigger a new build for your project, you can simply add that as a webhook in Github's repository settings. |
Hello guys,
I pulled latest docker image from
eclecticiq/opentaxii:latest (0107b7d07fd2)
. Started the container with default configuration file as present in git repo underexamples
folder. But the problem is, taxii-server isn't being configured with the settings presentdata-configuration.yml
. One needs to manually sync the data inside the container. According to Dockerfile andentrypoint.sh
script, it should be configured while booting up.I ran container with following commands
Container starts without any errors.
However when I try to fetch discovery service using Cabby (taxii client) it throws 404 error
If we go into the running container I find there exists config file in input directory, and the script
entrypoint.sh
successfully executed opentaxii-sync-data command but the database has no entries in its tables.If you see above
"select * from services;"
return empty table.What resolved the issue is manually syncing the data-configuration.yml inside container.
Now the entries are successfully created in sqlite DB.
And I can fetch from taxii-client too after this.
But expected behaviour should be, the docker container while booting should sync
data-configuration.yml
file if it finds in\input
folder. Instead it requires a manual sync inside the container.Steps to reproduce:
eclecticiq/opentaxii:latest
input
directory while starting the opentaxii container.The text was updated successfully, but these errors were encountered: