forked from Jesssullivan/tummycrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (47 loc) · 3.03 KB
/
.env.example
File metadata and controls
59 lines (47 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# .env.example - Environment variables for tummycrypt/tcfs development
#
# Copy this file to .env and fill in your values:
# cp .env.example .env
#
# .env is gitignored and will never be committed.
# direnv loads .env automatically when you cd into the project.
#
# For production/CI, use SOPS-encrypted credentials instead (see credentials/).
# ── SeaweedFS S3 credentials ────────────────────────────────────────────────
# Used by: tcfs-cli push/pull, tcfsd storage backend, aws cli testing
# For local dev stack (docker-compose), the default is admin/admin (see config/s3.json).
# For production SeaweedFS, use your real credentials.
AWS_ACCESS_KEY_ID=admin
AWS_SECRET_ACCESS_KEY=admin
# ── SOPS / age encryption ────────────────────────────────────────────────────
# Path to your age identity file (generated by: task sops:init)
# Default location: ~/.config/sops/age/keys.txt
# SOPS_AGE_KEY_FILE=${HOME}/.config/sops/age/keys.txt
# Alternatively, inline the age secret key (not recommended):
# SOPS_AGE_KEY=AGE-SECRET-KEY-1...
# ── Rust development ─────────────────────────────────────────────────────────
# Log level for tracing-subscriber (module=level syntax)
# Defaults in .envrc: tcfsd=debug,tcfs=debug,tcfs_core=debug,...
# RUST_LOG=tcfsd=trace,tcfs_storage=debug
# Show backtraces on panic (1 = short, full = verbose)
# RUST_BACKTRACE=1
# ── tcfs configuration ───────────────────────────────────────────────────────
# Path to tcfs config file (daemon + CLI)
# Defaults in .envrc: ./config/tcfs.example.toml
# TCFS_CONFIG=./config/tcfs.example.toml
# ── Local dev stack overrides ────────────────────────────────────────────────
# SeaweedFS S3 endpoint (default: docker-compose local stack)
# TCFS_S3_ENDPOINT=http://localhost:8333
# NATS JetStream URL (default: docker-compose local stack)
# TCFS_NATS_URL=nats://localhost:4222
# Prometheus metrics bind address
# TCFS_METRICS_ADDR=127.0.0.1:9100
# ── Production SeaweedFS (uncomment to target real infra) ────────────────────
# TCFS_S3_ENDPOINT=http://dees-appu-bearts:8333
# AWS_ACCESS_KEY_ID=jess
# AWS_SECRET_ACCESS_KEY=<your-real-secret-key>
# ── Docker / Podman ──────────────────────────────────────────────────────────
# Uncomment if using podman as docker replacement:
# DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/podman/podman.sock
# Compose project name (keeps volumes/networks namespaced)
# COMPOSE_PROJECT_NAME=tcfs