Skip to content

Commit

Permalink
chore: use cardano-configurations repo instead of locally managed
Browse files Browse the repository at this point in the history
moves other config out into the root, and produces the pgpass file as a build step
  • Loading branch information
rhyslbw committed Jul 29, 2021
1 parent d3dd093 commit 4a7ff3b
Show file tree
Hide file tree
Showing 23 changed files with 8 additions and 15,941 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "config"]
path = config
url = https://github.com/input-output-hk/cardano-configurations.git
7 changes: 4 additions & 3 deletions Dockerfile
Expand Up @@ -163,10 +163,11 @@ ARG NETWORK=mainnet
ENV DEFAULT_RELATIVE_TTL=1000 LOGGER_MIN_SEVERITY=info PAGE_SIZE=25
COPY --from=rosetta-server-builder /app/dist /cardano-rosetta-server/dist
COPY --from=rosetta-server-production-deps /app/node_modules /cardano-rosetta-server/node_modules
COPY config/ecosystem.config.js .
COPY ecosystem.config.js .
COPY postgresql.conf /etc/postgresql/12/main/postgresql.conf
COPY scripts/start_cardano-db-sync.sh /scripts/
COPY config/postgres/postgresql.conf /etc/postgresql/12/main/postgresql.conf
COPY config/network/${NETWORK} /config/
ENV PGPASSFILE=/config/cardano-db-sync/pgpass
RUN chmod 600 $PGPASSFILE && chown postgres:postgres $PGPASSFILE
RUN echo "/var/run/postgresql:5432:cexplorer:*:*" > $PGPASSFILE &&\
chmod 600 $PGPASSFILE && chown postgres:postgres $PGPASSFILE
COPY scripts/entrypoint.sh .
1 change: 1 addition & 0 deletions config
Submodule config added at 58fadb
117 changes: 0 additions & 117 deletions config/network/mainnet/cardano-db-sync/config.json

This file was deleted.

1 change: 0 additions & 1 deletion config/network/mainnet/cardano-db-sync/pgpass

This file was deleted.

73 changes: 0 additions & 73 deletions config/network/mainnet/cardano-node/config.json

This file was deleted.

9 changes: 0 additions & 9 deletions config/network/mainnet/cardano-node/topology.json

This file was deleted.

0 comments on commit 4a7ff3b

Please sign in to comment.