Skip to content

Container support and S3 support for static storage#421

Draft
nickryand wants to merge 1 commit intooxidecomputer:mainfrom
nickryand:generic
Draft

Container support and S3 support for static storage#421
nickryand wants to merge 1 commit intooxidecomputer:mainfrom
nickryand:generic

Conversation

@nickryand
Copy link
Contributor

  • Added Containerfile and compose.yml allowing for rfd-api and all other necessary binaries to be built into a container image. The compose.yml can be used to stand-up a local stack which includes the database and meilisearch.

  • Added log_filter support to both the rfd-api and rfd-processor configuration files. This works the same as overriding RUST_LOG but allows for configuration via file instead of environment variable.

  • StaticStorage is now a trait. There are two implementations for the trait. Each implementation have corresponding configuration sections. Multiple static storage locations can be configured and processor will upload static storage to all configured static storage backends.

  • GCS Static Storage: This is the original GCS implementation.

  • S3 Static Storage: This is a new implementation using the S3 API.

  • PDF storage is now optional. Disable this feature by not configuring it in the configuration toml.

* Added Containerfile and compose.yml allowing for rfd-api and all other
  necessary binaries to be built into a container image. The compose.yml
  can be used to stand-up a local stack which includes the database and
  meilisearch.

* Added log_filter support to both the rfd-api and rfd-processor
  configuration files. This works the same as overriding RUST_LOG but
  allows for configuration via file instead of environment variable.

* StaticStorage is now a trait. There are two implementations for the
  trait. Each implementation have corresponding configuration sections.
  Multiple static storage locations can be configured and processor will
  upload static storage to all configured static storage backends.
** GCS
This is the original GCS implementation.
** S3
This is a new implementation using the S3 API.

* PDF storage is now optional. Disable this feature by not configuring
  it in the configuration toml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant