Using cardano-db-sync-extended with docker-compose


I’m, setting up a cardano-db-sync server with docker an it’s currently syncing. I’m wondering now if there’s a way to configure the docker setup to use cardano-db-sync-extended, so it syncs the epochs table as well.

Initially I built everything manually, but cardano-db-sync took about 7 hours. So for convenience, I’d like to keep using the docker setup.

The answer is to set the EXTENDED env var to true for the db-sync service in the docker-compose file:

# ...
    image: inputoutput/cardano-db-sync:11.0.4
      - EXTENDED=true
      # ...