Ports fixed v0.3
This commit is contained in:
parent
9199703386
commit
4ae59afd98
2 changed files with 0 additions and 6 deletions
|
|
@ -29,7 +29,6 @@ FROM node:20-alpine AS runner
|
|||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=7000
|
||||
ENV DATA_PATH=/app/data/portal-data.json
|
||||
|
||||
# Copy package manifests
|
||||
|
|
@ -44,9 +43,5 @@ COPY --from=builder /app/dist ./dist
|
|||
# Create persistent data directory
|
||||
RUN mkdir -p /app/data
|
||||
|
||||
# Healthcheck to verify Express server status
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:7000/api/health || exit 1
|
||||
|
||||
# Start production application server
|
||||
CMD ["node", "dist/server.cjs"]
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ services:
|
|||
- "3000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD:-postgres_secure_pass_2026}@postgres:5432/balance_sheet_db
|
||||
- DATA_PATH=/app/data/portal-data.json
|
||||
- SMTP_HOST=${SMTP_HOST:-}
|
||||
|
|
|
|||
Loading…
Reference in a new issue