sirixdb / sirix

SirixDB is an an embeddable, bitemporal, append-only database system and event store, storing immutable lightweight snapshots. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach.
https://sirix.io
BSD 3-Clause "New" or "Revised" License
1.09k stars 244 forks source link

docker container keeps restarting #634

Closed Aminmalek closed 11 months ago

Aminmalek commented 11 months ago

Describe the bug when I started the docker container its restarting due to an error

To Reproduce Steps to reproduce the behavior.

Expected behavior Description of what you expected to happen.

Additional context pic

JohannesLichtenberger commented 11 months ago

We'll have to check which other options we have. It's specified in the focker compose file: restart: always

Aminmalek commented 11 months ago

I think it's related to an error to container in Java app

JohannesLichtenberger commented 11 months ago

The restarting on failure seems to be on purpose at least ;-) not sure what's causing your problem. Maybe another server is listening on port 8080?

Aminmalek commented 11 months ago

The restarting on failure seems to be on purpose at least ;-) not sure what's causing your problem. Maybe another server is listening on port 8080?

I will check the port and say the result

Aminmalek commented 11 months ago

The restarting on failure seems to be on purpose at least ;-) not sure what's causing your problem. Maybe another server is listening on port 8080?

I will check the port and say the result

The port is free and the keyclaok is running but the server container can't connect to the local host 8080

JohannesLichtenberger commented 11 months ago

In the sirix configuration file can you try "host.docker.internal" instead of localhost?

Aminmalek commented 11 months ago

it does not fix it, I have this error java.net.UnknownHostException: Failed to resolve 'host.docker.internal' [A(1)] after 2 queries

JohannesLichtenberger commented 11 months ago

Can we close this!?

Aminmalek commented 11 months ago

Can we close this!?

Yes I think, can you please run the docker compose in your os to see if there isn't any problem. Please build it first to make sure that the new file is in container. Thanks