Repository navigation
chore(octi-lab): replace pgsty/silo by RustFS in the lab stack (#7) - #8
Draft
Olivier SOTIN (T0t1n) wants to merge 1 commit into
Draft
Olivier SOTIN (T0t1n) wants to merge 1 commit into
Olivier SOTIN (T0t1n) wants to merge 1 commit into
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
octi-lab/docker-compose.yml: theminioservice runsrustfs/rustfs:1.0.4instead ofpgsty/silo:latest, with the service settings of chore(compose): run RustFS as the object storage of the stacks (#620) docker#621 (open): credentials passed asRUSTFS_ACCESS_KEY/RUSTFS_SECRET_KEYfrom the sameMINIO_ROOT_*variables, logs to stdout, no update check at start, healthcheckcurl -f http://localhost:9000/health/readywithstart_period: 60s. Service name and port 9000 are unchanged, so the OpenCTI (MINIO__*) and XTM One (S3_*) settings of the lab stay as they are.rustfsdatavolume instead ofs3data: RustFS runs as uid 10001 and does not start on a volume written by Silo (root,Permission denied). This differs from docker#621, which keepss3dataand points to a migration guide: the lab data is disposable, so a fresh volume lets the stack start on a machine that ran the lab before, and a reset replaces the migration.octi-lab/README.md: new "Upgrading a lab that ran Silo" section. A lab with a formerxtm_s3datavolume must be reset (docker compose down -v, thenup -d): otherwise the storage is empty while OpenCTI and XTM One keep their data. The former volume is named exactly, with a warning: the OpenCTI-Platform/docker stack uses the same default project name (xtm) and keeps its storage inxtm_s3data.octi-lab/.env.sample: the bucket comment names RustFS.Related issues
How to test
Verified locally with Docker 29.5.2 and the exact compose settings of the stack (port mapping left out): the container reaches
healthythrough/health/readyin a few seconds, and with the.env.samplecredentials a bucket create / upload / read / delete round trip works withmc. The OpenCTI and XTM One services of the lab were not started.Checklist