Skip to content

Commit

Permalink
Dockerfile: Set default for EOS_SERVER__EOSDASH_SESSKEY Closes #447 (#…
Browse files Browse the repository at this point in the history
…467)

* This allows to start the container without any extra settings
   (potentially unsafe).
   It is recommended to set EOS_SERVER__EOSDASH_SESSKEY.
  • Loading branch information
Lasall authored Feb 23, 2025
1 parent 20621aa commit d2136f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ENV EOS_CACHE_DIR="${EOS_DIR}/cache"
ENV EOS_OUTPUT_DIR="${EOS_DIR}/output"
ENV EOS_CONFIG_DIR="${EOS_DIR}/config"

# Overwrite when starting the container in a production environment
ENV EOS_SERVER__EOSDASH_SESSKEY=s3cr3t

WORKDIR ${EOS_DIR}

RUN adduser --system --group --no-create-home eos \
Expand Down

0 comments on commit d2136f1

Please sign in to comment.