Move Garage and garage-webui to stpcore
Garage now runs on the stpcore LXC (adamf/stpcore), the shared core other stacks depend on. caddy, backend and usaco pin the name `garage` to it with GARAGE_UPSTREAM; /garage/ goes to stpcore's Caddy with X-Core-Token. The disk fallback for /uploads/ is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#
|
||||
# Keep it in step with .env.example: a new variable goes in both. Settings that
|
||||
# are not secrets (hosts, ports, timezone) keep .env.example's defaults; values
|
||||
# a service parses (Garage's hex secrets, the S3 key id) are dummies in the exact shape it requires, or that service won't start.
|
||||
# a service parses (the S3 key id and secret) are dummies in the exact shape it requires, or that service won't start.
|
||||
#
|
||||
# The dummy Postgres credentials only work on a database volume created with
|
||||
# them: an existing dbdata volume keeps whatever password it was initialised
|
||||
@@ -124,17 +124,16 @@ TRACKER_TZ=Europe/London
|
||||
|
||||
TFL_APP_KEY=dev-dummy-tfl-key
|
||||
|
||||
# --- Garage object store (public /uploads/) -----------------------------------
|
||||
# Shapes Garage enforces: 64 hex for the RPC secret, "GK" + 24 hex for the key
|
||||
# id, 64 hex for the secret. Uploads fall back to the `uploads` volume until
|
||||
# garage/bootstrap.sh has imported this key and created the bucket.
|
||||
GARAGE_RPC_SECRET=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
|
||||
GARAGE_ADMIN_TOKEN=dev-garage-admin-token
|
||||
# --- Garage object store (public /uploads/, on stpcore) -----------------------
|
||||
# Uploads fall back to the `uploads` volume unless a dev stpcore is running
|
||||
# with LAN_BIND=172.17.0.1 and these same dummy values (see stpcore's README).
|
||||
# Shapes Garage enforces: "GK" + 24 hex for the key id, 64 hex for the secret.
|
||||
GARAGE_UPSTREAM=host-gateway
|
||||
GARAGE_WEBUI_TOKEN=dev-garage-webui-token
|
||||
S3_ACCESS_KEY_ID=GK0123456789abcdef01234567
|
||||
S3_SECRET_ACCESS_KEY=fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210
|
||||
S3_ENDPOINT=http://garage:3900
|
||||
S3_REGION=garage
|
||||
S3_BUCKET=uploads
|
||||
GARAGE_CAPACITY=1G
|
||||
|
||||
STPPRIV_LAN_IP=192.0.2.1
|
||||
|
||||
Reference in New Issue
Block a user