47 lines
1.5 KiB
Bash
47 lines
1.5 KiB
Bash
# A distinct project name and host port let v1 and v2 run side by side.
|
|
COMPOSE_PROJECT_NAME=announcements-v2
|
|
WEB_PORT=5175
|
|
|
|
# Docker Compose pins these internal values. They are shown here to document the
|
|
# standalone API configuration contract; do not uncomment them for normal Compose use.
|
|
# NODE_ENV=production
|
|
# HOST=0.0.0.0
|
|
# PORT=7532
|
|
# DATABASE_PATH=/data/db/announcements.sqlite
|
|
# S3_ENDPOINT=http://seaweedfs:8333
|
|
# S3_FORCE_PATH_STYLE=true
|
|
|
|
# Optional local Vite development proxy target (not used by Compose).
|
|
# VITE_API_PROXY_TARGET=http://127.0.0.1:7532
|
|
|
|
# Application configuration exposed by Compose
|
|
APP_TIMEZONE=America/Chicago
|
|
SHUTDOWN_TIMEOUT_MS=10000
|
|
DATABASE_BUSY_TIMEOUT_MS=5000
|
|
TRUST_PROXY=true
|
|
|
|
# Private SeaweedFS S3 configuration
|
|
S3_REGION=us-east-1
|
|
S3_BUCKET=announcements-v2
|
|
S3_ACCESS_KEY_ID=replace-with-a-random-access-key
|
|
S3_SECRET_ACCESS_KEY=replace-with-a-long-random-secret
|
|
S3_CONNECT_TIMEOUT_MS=2000
|
|
# Maximum socket inactivity during one S3 operation (not a total upload deadline).
|
|
S3_REQUEST_TIMEOUT_MS=5000
|
|
S3_MAX_ATTEMPTS=2
|
|
S3_HEALTH_PROBE_INTERVAL_MS=30000
|
|
|
|
# Image upload and decode limits. The default proxy body limit is 512 MiB,
|
|
# which accommodates the default twenty 25 MiB files plus multipart overhead.
|
|
UPLOAD_MAX_FILE_BYTES=26214400
|
|
UPLOAD_MAX_FILES=20
|
|
IMAGE_MAX_INPUT_PIXELS=40000000
|
|
# UPLOAD_TEMP_DIRECTORY=/tmp/announcements-uploads
|
|
|
|
# Optional integrations. Leave blank to disable them during Phase 2.
|
|
MQTT_URL=
|
|
MQTT_USERNAME=
|
|
MQTT_PASSWORD=
|
|
HA_WEBHOOK_URL=
|
|
HA_WEBHOOK_SECRET=
|