Skip to content

Commit 807cf9c

Browse files
committed
fix: cardano-db-sync (a workaround for ENOTTY)
1 parent 0e71213 commit 807cf9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ COPY scripts/start_cardano-db-sync.sh scripts/maybe_download_cardano-db-sync_sna
169169
COPY config/network/${NETWORK} /config/
170170
RUN chmod -R g+rX,o+rX /ecosystem.config.js /etc/postgresql/12/main/postgresql.conf /scripts
171171
ENV PGPASSFILE=/config/cardano-db-sync/pgpass
172-
RUN echo "/var/run/postgresql:5432:cexplorer:*:*" > $PGPASSFILE &&\
172+
RUN echo "/var/run/postgresql:5432:cexplorer:postgres:*" > $PGPASSFILE &&\
173173
chmod 600 $PGPASSFILE && chown postgres:postgres $PGPASSFILE
174174
RUN mkdir /snapshot &&\
175175
./scripts/maybe_download_cardano-db-sync_snapshot.sh $SNAPSHOT_URL /snapshot

0 commit comments

Comments
 (0)