Skip to content

Commit

Permalink
minor changes; updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
comminutus committed Sep 1, 2024
1 parent cd54f22 commit 78bcd24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
########################################################################################################################
# Configuration / Base Image
# Configuration
########################################################################################################################
# Core Config
ARG monero_version=0.18.3.4
Expand All @@ -25,7 +25,6 @@ ARG dist_dir=$build_dir/dist
ARG doc_dir=$build_dir/doc
ARG hashes_file=hashes.txt
ARG hashes_url=https://www.getmonero.org/downloads/$hashes_file
ARG data_dir=/var/lib/monero


########################################################################################################################
Expand Down Expand Up @@ -73,7 +72,7 @@ ARG dist_dir ports

# Install binaries
COPY --from=build $dist_dir /usr/local/bin
COPY --from=build $doc_dir /usr/local/share/doc/monero
COPY --from=build $doc_dir /usr/local/share/licenses/monero

# Setup a volume for blockchain
VOLUME /var/lib/monero
Expand All @@ -83,3 +82,4 @@ EXPOSE $ports

# Run entrypoint script
ENTRYPOINT ["/usr/local/bin/monerod", "--data-dir", "/var/lib/monero"]
CMD ["--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=18081", "--non-interactive", "--confirm-external-bind"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ When running the container image with Docker, Kubernetes, OpenShift, etc., mount
_/var/lib/monero_.

### User/Group
Because the container uses Chainguard's image as a base, the `monerod` process is run as non-root.
Because the container uses Chainguard's image as a base, the `monerod` process is run as non-root. The username and group name the process runs as is `nonroot`. The UID and GID are set to 65532.

### Ports
The container exposes the following ports:
Expand Down

0 comments on commit 78bcd24

Please sign in to comment.