mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-08-30 20:57:01 +00:00
begin testing s3
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user