Update compose.yaml to include .env file for environment variable injection, enhancing security and usability for the Versity S3 Gateway deployment. This change ensures that necessary environment variables are accessible within the container, improving the overall configuration process.

This commit is contained in:
Nikholas Pcenicni
2026-03-28 17:49:43 -04:00
parent 97b56581ed
commit bf108a37e2
3 changed files with 13 additions and 9 deletions

View File

@@ -1,8 +1,12 @@
# Versity S3 Gateway — root credentials for the flat-file IAM backend.
# Copy to `.env` and set strong values before `docker compose up -d`.
# Copy to `.env` in this directory (same folder as compose.yaml).
# https://github.com/versity/versitygw/wiki/Quickstart
#
# Set either pair (same names as the Kubernetes Helm chart):
# Komodo: use these exact names in Stack Environment — they are written to `.env`
# on the host (default `env_file_path`). If you change `env_file_path` in the Stack,
# update `env_file` in compose.yaml to match.
#
# Set either pair (Helm chart uses the *_ID / *_ACCESS_KEY names):
# ROOT_ACCESS_KEY + ROOT_SECRET_KEY
# ROOT_ACCESS_KEY_ID + ROOT_SECRET_ACCESS_KEY