feat(storage): add storage to CD pipeline and fix Docker config

- Add build context to storage-web in docker-compose (was pulling from
  GHCR, now builds locally like other services)
- Add storage-backend and storage-web to CD change detection and deploy
- Fix mukke health check URLs (were using wrong ports 3035/5015)
- Remove hardcoded port from Dockerfile (use PORT env var from compose)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-22 18:02:40 +01:00
parent 97b610020c
commit 93a7c90f4f
3 changed files with 21 additions and 13 deletions

View file

@ -79,17 +79,9 @@ COPY --from=builder /app/apps/storage/apps/web/node_modules ./node_modules
COPY --from=builder /app/apps/storage/apps/web/build ./build
COPY --from=builder /app/apps/storage/apps/web/package.json ./
# Expose port
EXPOSE 5185
# Set environment variables
ENV NODE_ENV=production
ENV PORT=5185
ENV HOST=0.0.0.0
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:5185/health || exit 1
# Run the app
CMD ["node", "build"]