hirosystems / ordinals-api

Bitcoin Ordinals API
Apache License 2.0
200 stars 62 forks source link

Create a docker compose setup #50

Open lgalabru opened 1 year ago

lgalabru commented 1 year ago

It'd be pretty useful to provide a docker compose file, spinning up:

rafaelcr commented 1 year ago

@lgalabru is there a way we could get the chainhooks node to send a request when hord indexing is done? so devs can spin up docker compose and have the API automatically initialize whenever hord indexing is finished (as opposed to pinging the chainhooks node every second)

zone117x commented 1 year ago

(For inspiration) Here's a docker-compose setup I use that has some of these services: https://github.com/zone117x/hiroic-stack/blob/main/docker-compose.yml

It implements healthchecks and depends_on so that dependencies startup and shutdown in correct order.