Skip to content

Commit

Permalink
feat: update production container image to support block streams
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Klick <nathan@swirldslabs.com>
  • Loading branch information
nathanklick committed Nov 22, 2024
1 parent 81b7849 commit f1cbec4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public record BlockStreamConfig(
@ConfigProperty(defaultValue = "BOTH") @NetworkProperty StreamMode streamMode,
@ConfigProperty(defaultValue = "FILE") @NodeProperty BlockStreamWriterMode writerMode,
@ConfigProperty(defaultValue = "data/block-streams") @NodeProperty String blockFileDir,
@ConfigProperty(defaultValue = "/opt/hgcapp/blockStreams") @NodeProperty String blockFileDir,
@ConfigProperty(defaultValue = "true") @NetworkProperty boolean compressFilesOnCreation,
@ConfigProperty(defaultValue = "32") @NetworkProperty int serializationBatchSize,
@ConfigProperty(defaultValue = "32") @NetworkProperty int hashCombineBatchSize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ RUN mkdir -p "/opt/hgcapp" && \
mkdir -p "/opt/hgcapp/accountBalances" && \
mkdir -p "/opt/hgcapp/eventsStreams" && \
mkdir -p "/opt/hgcapp/recordStreams" && \
mkdir -p "/opt/hgcapp/blockStreams" && \
mkdir -p "/opt/hgcapp/services-hedera" && \
mkdir -p "/opt/hgcapp/services-hedera/HapiApp2.0" && \
mkdir -p "/opt/hgcapp/services-hedera/HapiApp2.0/data" && \
Expand Down Expand Up @@ -122,6 +123,7 @@ RUN chmod +rx /usr/local/bin/wait-for
VOLUME "/opt/hgcapp/accountBalances"
VOLUME "/opt/hgcapp/eventsStreams"
VOLUME "/opt/hgcapp/recordStreams"
VOLUME "/opt/hgcapp/blockStreams"
VOLUME "/opt/hgcapp/services-hedera/HapiApp2.0/data/config"
VOLUME "/opt/hgcapp/services-hedera/HapiApp2.0/data/diskFs"
VOLUME "/opt/hgcapp/services-hedera/HapiApp2.0/data/keys"
Expand Down

0 comments on commit f1cbec4

Please sign in to comment.