testing 101

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-06-30 19:31:45 +08:00
parent 89acdfc239
commit 1372f4e975
62 changed files with 6696 additions and 281 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ const base = {
password: process.env.DB_PASSWORD,
database: process.env.DB_NAME,
host: process.env.DB_HOST,
port: parseInt(process.env.DB_PORT, 10) || 26257,
port: parseInt(process.env.DB_PORT, 10) || 5432,
dialect: 'postgres',
dialectOptions: {
...(useSSL && {
+17
View File
@@ -0,0 +1,17 @@
metadata_dir = "/var/lib/garage/meta"
data_dir = "/var/lib/garage/data"
# Single-node setup. Increase replication_factor if you add more Garage nodes.
replication_factor = 1
# RPC — used for node-to-node and CLI-to-daemon communication.
# rpc_secret is read from GARAGE_RPC_SECRET env var (set in .env).
rpc_bind_addr = "0.0.0.0:3901"
rpc_public_addr = "garage:3901"
[s3_api]
s3_region = "garage"
api_bind_addr = "0.0.0.0:3900"
[admin]
api_bind_addr = "0.0.0.0:3903"