Remove shared storage and restore user-owned uploads
This commit is contained in:
@@ -43,16 +43,3 @@ PORT=auto
|
||||
|
||||
# Maximum AI bots per user (default: 5)
|
||||
# BOT_MAX_PER_USER=5
|
||||
|
||||
# ===========================================
|
||||
# OPTIONAL: Shared S3 Storage
|
||||
# ===========================================
|
||||
# These are only needed if you want app-level shared storage defaults.
|
||||
# Most media storage is configured per user inside the app.
|
||||
|
||||
# STORAGE_ENDPOINT=
|
||||
# STORAGE_REGION=us-east-1
|
||||
# STORAGE_BUCKET=
|
||||
# STORAGE_ACCESS_KEY=
|
||||
# STORAGE_SECRET_KEY=
|
||||
# STORAGE_PUBLIC_BASE_URL=
|
||||
|
||||
@@ -47,6 +47,9 @@ RUN apk add --no-cache libc6-compat openssl netcat-openbsd wget
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
LABEL org.opencontainers.image.source="https://github.com/GnosysLabs/Synapsis"
|
||||
LABEL org.opencontainers.image.description="Synapsis self-hosted social node"
|
||||
|
||||
# Create non-root user for security
|
||||
RUN addgroup --system --gid 1001 nodejs && \
|
||||
adduser --system --uid 1001 nextjs
|
||||
|
||||
@@ -42,15 +42,6 @@ Optional (advanced):
|
||||
- `NEXT_PUBLIC_NODE_DOMAIN` to override the node domain (defaults to `DOMAIN`)
|
||||
- `NEXT_PUBLIC_APP_URL` to override the public app URL used by background jobs (auto-derived from the node domain)
|
||||
- `ALLOW_LOCALHOST=1` to allow `localhost` in production containers for local testing
|
||||
- Shared S3 storage env vars are available if you want app-level fallback storage
|
||||
|
||||
Optional shared storage env vars:
|
||||
- `STORAGE_ENDPOINT`
|
||||
- `STORAGE_REGION`
|
||||
- `STORAGE_BUCKET`
|
||||
- `STORAGE_ACCESS_KEY`
|
||||
- `STORAGE_SECRET_KEY`
|
||||
- `STORAGE_PUBLIC_BASE_URL`
|
||||
|
||||
**Port Configuration:**
|
||||
- `PORT=auto` (default) — Automatically finds an available port between 3000-3020
|
||||
|
||||
@@ -63,14 +63,6 @@ services:
|
||||
# Admin emails
|
||||
ADMIN_EMAILS: ${ADMIN_EMAILS}
|
||||
|
||||
# S3 Storage configuration
|
||||
STORAGE_ENDPOINT: ${STORAGE_ENDPOINT}
|
||||
STORAGE_REGION: ${STORAGE_REGION:-us-east-1}
|
||||
STORAGE_BUCKET: ${STORAGE_BUCKET}
|
||||
STORAGE_ACCESS_KEY: ${STORAGE_ACCESS_KEY}
|
||||
STORAGE_SECRET_KEY: ${STORAGE_SECRET_KEY}
|
||||
STORAGE_PUBLIC_BASE_URL: ${STORAGE_PUBLIC_BASE_URL}
|
||||
|
||||
# Optional settings
|
||||
BOT_MAX_PER_USER: ${BOT_MAX_PER_USER:-5}
|
||||
|
||||
|
||||
@@ -122,7 +122,3 @@ echo "Next steps:"
|
||||
echo " 1. Review ${INSTALL_DIR}/.env"
|
||||
echo " 2. Start Synapsis:"
|
||||
echo " cd ${INSTALL_DIR} && docker compose up -d"
|
||||
echo ""
|
||||
echo "One-line usage examples:"
|
||||
echo " curl -fsSL ${PUBLIC_INSTALL_URL} | bash"
|
||||
echo " curl -fsSL ${PUBLIC_INSTALL_URL} | DOMAIN=synapsis.example.com ADMIN_EMAILS=you@example.com bash"
|
||||
|
||||
Reference in New Issue
Block a user