chore: flake update
This commit is contained in:
@@ -6,21 +6,18 @@
|
||||
}: {
|
||||
services.rustfs = {
|
||||
enable = true;
|
||||
package = inputs.rustfs.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
environmentFile = config.age.secrets.rustfs-env.path;
|
||||
settings = {
|
||||
# Reuse existing MinIO data directory
|
||||
RUSTFS_VOLUMES = "/var/storage/s3";
|
||||
|
||||
# Reuse existing MinIO data directory
|
||||
volumes = "/var/storage/s3";
|
||||
# Keep same ports as MinIO to avoid changing Traefik and client configs
|
||||
RUSTFS_ADDRESS = ":3008";
|
||||
RUSTFS_CONSOLE_ENABLE = "true";
|
||||
RUSTFS_CONSOLE_ADDRESS = ":3007";
|
||||
|
||||
# Keep same ports as MinIO to avoid changing Traefik and client configs
|
||||
address = ":3008";
|
||||
consoleEnable = true;
|
||||
consoleAddress = ":3007";
|
||||
|
||||
# Credentials via agenix
|
||||
accessKeyFile = config.age.secrets.rustfs-access-key.path;
|
||||
secretKeyFile = config.age.secrets.rustfs-secret-key.path;
|
||||
|
||||
logLevel = "info";
|
||||
RUST_LOG = "info";
|
||||
};
|
||||
};
|
||||
|
||||
# Traefik configuration — same routes as before
|
||||
|
||||
Reference in New Issue
Block a user