-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dashmate)!: drive logs configuration (#1406)
Co-authored-by: lklimek <[email protected]>
- Loading branch information
Showing
18 changed files
with
553 additions
and
177 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,23 +203,22 @@ FROM alpine:${ALPINE_VERSION} AS drive-abci | |
LABEL maintainer="Dash Developers <[email protected]>" | ||
LABEL description="Drive ABCI Rust" | ||
|
||
WORKDIR /var/lib/dash | ||
|
||
RUN apk add --no-cache libgcc libstdc++ | ||
|
||
ENV DB_PATH=/var/lib/dash/rs-drive-abci/db | ||
|
||
RUN mkdir -p /var/log/dash \ | ||
/var/lib/dash/rs-drive-abci/db | ||
|
||
COPY --from=build-drive-abci /artifacts/drive-abci /usr/bin/drive-abci | ||
COPY --from=build-drive-abci /platform/packages/rs-drive-abci/.env.example /var/lib/dash/rs-drive-abci/.env | ||
|
||
# Double-check that we don't have missing deps | ||
RUN ldd /usr/bin/drive-abci | ||
|
||
# Create a volume | ||
VOLUME /var/lib/dash | ||
VOLUME /var/lib/dash/rs-drive-abci/db | ||
VOLUME /var/log/dash | ||
|
||
RUN mkdir -p /var/log/dash | ||
|
||
ENV DB_PATH=/var/lib/dash/rs-drive-abci/db | ||
# Double-check that we don't have missing deps | ||
RUN ldd /usr/bin/drive-abci | ||
|
||
# | ||
# Create new non-root user | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,6 @@ StopCommand.flags = { | |
description: 'stop only platform', | ||
default: false, | ||
}), | ||
|
||
}; | ||
|
||
module.exports = StopCommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.