mirror of
https://github.com/KLogicHQ/nats-console.git
synced 2026-10-07 13:40:52 +00:00
fix node modules folder.
fix redis append only.
This commit is contained in:
@@ -178,6 +178,11 @@ COPY --from=builder /app/node_modules/.pnpm/@prisma+engines*/node_modules/@prism
|
||||
# Copy package.json files for workspace resolution
|
||||
COPY package.json pnpm-workspace.yaml ./
|
||||
|
||||
# Create symlinks so apps can find node_modules from root
|
||||
RUN ln -s /app/node_modules /app/apps/api/node_modules && \
|
||||
ln -s /app/node_modules /app/apps/workers/node_modules && \
|
||||
ln -s /app/node_modules /app/apps/shared/node_modules
|
||||
|
||||
# =============================================================================
|
||||
# Copy initialization scripts and configuration
|
||||
# =============================================================================
|
||||
|
||||
@@ -22,8 +22,9 @@ stopwaitsecs=60
|
||||
# Redis
|
||||
# =============================================================================
|
||||
[program:redis]
|
||||
command=/usr/bin/redis-server --appendonly yes --daemonize no
|
||||
command=/usr/bin/redis-server --appendonly yes --daemonize no --dir /var/lib/redis
|
||||
user=redis
|
||||
directory=/var/lib/redis
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=10
|
||||
|
||||
Reference in New Issue
Block a user