Skip to content

Commit

Permalink
Add log point after /vault/config/docker.hcl generated
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed May 10, 2024
1 parent 86994ec commit 754f0cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-stack/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ services:
# You can set either one of these values, the priority is as follows:
- VAULT_API_ADDR
- VAULT_REDIRECT_ADDR
# ===============================
# DO NOT CHANGE THIS VALUES BELOW
# ===============================
# Internal Docker Swarm configurations
- VAULT_LOG_LEVEL=${VAULT_LOG_LEVEL:-info}
- VAULT_RAFT_NODE_ID={{.Node.ID}}
Expand Down
1 change: 1 addition & 0 deletions rootfs/docker-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ if [[ "${VAULT_RAW_STORAGE_ENDPOINT}" == "true" ]]; then
fi

# Save the configuration to a file
entrypoint_log "Generating configuration file at $VAULT_CONFIG_DIR/docker.hcl"
cat <<EOT > "$VAULT_CONFIG_DIR/docker.hcl"
ui=${VAULT_ENABLE_UI}
cluster_name = "${VAULT_CLUSTER_NAME}"
Expand Down

0 comments on commit 754f0cf

Please sign in to comment.