IntersectMBO / cardano-db-sync

A component that follows the Cardano chain and stores blocks and transactions in PostgreSQL
Apache License 2.0
283 stars 158 forks source link

[Docker] Make schema-dir more predictable #1724

Open sgillespie opened 1 month ago

sgillespie commented 1 month ago

OS Your OS: Docker

Versions The db-sync version (eg cardano-db-sync --version): PostgreSQL version: N/A

Build/Install Method The method you use to build or install cardano-db-sync: Docker

Run method The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none): Docker

Problem Report For users that do not use the entrypoint, we should make the schema-dir more predictable. Currently, it's buried in the nix store and filled in at build time. It would be better to link to it from, eg, /usr/share