Remove the MinIO/S3 storage backend entirely. The filesystem backend is fully implemented, already used in production, and a migrate-storage tool exists for any remaining MinIO deployments to migrate beforehand. Changes: - Delete MinIO client implementation (internal/storage/storage.go) - Delete migrate-storage tool (cmd/migrate-storage, scripts/migrate-storage.sh) - Remove MinIO service, volumes, and env vars from all Docker Compose files - Simplify StorageConfig: remove Endpoint, AccessKey, SecretKey, Bucket, UseSSL, Region fields; add SILO_STORAGE_ROOT_DIR env override - Change all SQL COALESCE defaults from 'minio' to 'filesystem' - Add migration 020 to update column defaults to 'filesystem' - Remove minio-go/v7 dependency (go mod tidy) - Update all config examples, setup scripts, docs, and tests
33 lines
635 B
YAML
33 lines
635 B
YAML
# Silo Development Configuration
|
|
# Used by deployments/docker-compose.yaml — works with zero setup via `make docker-up`.
|
|
# For production Docker installs, run scripts/setup-docker.sh instead.
|
|
|
|
server:
|
|
host: "0.0.0.0"
|
|
port: 8080
|
|
base_url: "http://localhost:8080"
|
|
|
|
database:
|
|
host: "postgres"
|
|
port: 5432
|
|
name: "silo"
|
|
user: "silo"
|
|
password: "${POSTGRES_PASSWORD:-silodev}"
|
|
sslmode: "disable"
|
|
max_connections: 10
|
|
|
|
storage:
|
|
backend: "filesystem"
|
|
filesystem:
|
|
root_dir: "/var/lib/silo/data"
|
|
|
|
schemas:
|
|
directory: "/etc/silo/schemas"
|
|
default: "kindred-rd"
|
|
|
|
freecad:
|
|
uri_scheme: "silo"
|
|
|
|
auth:
|
|
enabled: false
|