Complete Hub Admin Dashboard with analytics, settings, and enterprise features
Major additions: - Analytics dashboard with charts (line, bar, donut) - Enterprise client monitoring with container management - Staff management with 2FA support - Profile management and settings pages - Netcup server integration - DNS verification panel - Portainer integration - Container logs and health monitoring - Automation controls for orders New API endpoints: - /api/v1/admin/analytics - /api/v1/admin/enterprise-clients - /api/v1/admin/netcup - /api/v1/admin/settings - /api/v1/admin/staff - /api/v1/profile Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -34,9 +34,21 @@ WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
# Install Docker CLI for spawning provisioning containers
|
||||
RUN apk add --no-cache docker-cli
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
# Add nextjs user to docker group for socket access
|
||||
# Note: The actual docker group GID might differ - using 999 as common default
|
||||
RUN addgroup -g 999 docker || true
|
||||
RUN addgroup nextjs docker || true
|
||||
|
||||
# Create jobs and logs directories for provisioning
|
||||
RUN mkdir -p /app/jobs /app/logs
|
||||
RUN chown -R nextjs:nodejs /app/jobs /app/logs
|
||||
|
||||
# Create public directory and copy contents if they exist
|
||||
RUN mkdir -p public
|
||||
COPY --from=builder /app/public/. ./public/
|
||||
|
||||
Reference in New Issue
Block a user