begin testing s3

This commit is contained in:
Evan Jarrett
2025-10-08 22:38:44 -05:00
parent e337495b4c
commit fb040a72d3
4 changed files with 5 additions and 21 deletions
View File
-3
View File
@@ -23,9 +23,6 @@ WORKDIR /root/
# Copy binary from builder
COPY --from=builder /app/atcr-hold .
# Copy default config
COPY config/hold.yml /etc/atcr/hold.yml
# Create directories for storage
RUN mkdir -p /var/lib/atcr/hold
-16
View File
@@ -1,16 +0,0 @@
# DEPRECATED: This config file is no longer used
#
# The hold service now loads all configuration from environment variables.
# Please use .env.example as a reference and set environment variables instead.
#
# See .env.example for all available configuration options.
#
# Key changes:
# - Storage config now uses standard env vars (AWS_ACCESS_KEY_ID, etc.)
# - Authorization is now based on PDS records (hold.public, crew records)
# - No more allow_all or allowed_dids config
#
# To run the hold service:
# 1. Copy .env.example to .env
# 2. Fill in your values
# 3. Run: source .env && ./atcr-hold
+5 -2
View File
@@ -29,13 +29,16 @@ services:
# Future: Add read_only: true for production deployments
atcr-hold:
env_file:
- ../atcr-secrets.env # Load S3/Storj credentials from external file
environment:
HOLD_PUBLIC_URL: http://172.28.0.3:8080
HOLD_OWNER: did:plc:pddp4xt5lgnv2qsegbzzs4xg
HOLD_PUBLIC: false
STORAGE_DRIVER: filesystem
STORAGE_ROOT_DIR: /var/lib/atcr/hold
# STORAGE_DRIVER: filesystem
# STORAGE_ROOT_DIR: /var/lib/atcr/hold
TEST_MODE: true
# Storage config comes from env_file (STORAGE_DRIVER, AWS_*, S3_*)
build:
context: .
dockerfile: Dockerfile.hold