-
Notifications
You must be signed in to change notification settings - Fork 12
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
Version 2.6.0 crashes in docker #18
Comments
From the logs provided I can see that the siga-01 and siga-02 instances are unable to connect to the siga-db container. I wasn't able to reproduce this naturally, but I did get the the exact same error messages when I changed the Could it be that something in your docker files has changed? |
Thank you for the feedback. I did change the docker configuration, as i was running postgres on the same host under the default port (5432). I mapped it to 5433 and changed the configuration accordingly. I did some extensive testing and i actually managed to get the docker containers work (at least they werent crashing anymore). docker-compse.yml
I do not know, what is the cause of this. It could be mu local setup, it could be configuration of the postgres host, it could be network related, etc. I'll have to reconfigure the local postgres in the hostmachine, after that i can get back to report, are the containers actually working or not. |
Please be aware that we provide Docker files for development and testing purposes only! https://github.com/open-eid/SiGa#running-siga-with-docker You must assess and ensure the suitability for other purposes (production usage) yourself. |
I am aware that docker is only suitable for testing and development. I am running and developing a web application that uses live SiGa in its signing flow. However, due to historical reasons, this application is not (yet) dockerised and it needs the postgres to work. Luckily, that app can connect to any port the postgres is configured to. I can confirm, that docker version is usable and runnabale, if the following modifications are done:
I did not test the demo application so i do not know if this works as described or not. |
There seems to be multiple errors occuring in the docker containers that crash the nodes and making the whole system unusable in docker setup.
Environment:
Compiling and image building is done in taking the shortcuts mentioned in #17
The containers seem to start up fine (
docker compose up
), but upon initialisation both application servers (siga-01, siga-02) crash.20230201_02_00_log.log
Database container keeps on running it is possible to connect to it, but the database
siga_db
(referenced in the docker file) is completely empty.Assuming that docker is not usable at this version.
The text was updated successfully, but these errors were encountered: