Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,9 @@ SOCIAL_TOKEN_REVERIFICATION_INTERVAL=60000
SOCIAL_TOKEN_CACHE_PREFIX=social_token:
STELLAR_MAX_RETRIES=3
STELLAR_RETRY_DELAY=1000

# PII Scrubbing Configuration (GDPR/CCPA Compliance)
PII_SCRUBBING_SALT=your-secure-random-salt-for-pii-hashing-min-32-bytes
INACTIVE_RETENTION_YEARS=3
PII_SCRUBBING_ENABLED=true
PII_SCRUBBING_CRON_SCHEDULE=0 2 * * 0 # Weekly on Sunday at 2 AM
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ COPY --chown=nodejs:nodejs index.js ./
COPY --chown=nodejs:nodejs knexfile.js ./
COPY --chown=nodejs:nodejs .env.example ./.env.example

# Copy Knex migrations for initContainer
COPY --chown=nodejs:nodejs migrations ./migrations
COPY --chown=nodejs:nodejs scripts ./scripts

# Create data directory with proper permissions
RUN mkdir -p /app/data && \
chown nodejs:nodejs /app/data
Expand Down
Loading
Loading