[PR #52] fix(docker): fix Docker image does not provide web services #53

Open
opened 2026-03-02 11:45:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karant-dev/AutoRedact/pull/52
Author: @dragonish
Created: 2/5/2026
Status: 🔄 Open

Base: mainHead: docker


📝 Commits (1)

  • 1f8e95a fix(docker): fix Docker image does not provide web services

📊 Changes

3 files changed (+56 additions, -29 deletions)

View changed files

📝 Dockerfile (+20 -29)
📝 nginx.conf (+16 -0)
supervisord.conf (+20 -0)

📄 Description

In the currently published Docker image, only the last api stage is used, and no web stage is used, resulting in the image not providing web services, and only one API port of 3000 is available.

This PR creates a production stage that runs both Nginx and Node API services and uses Supervisord to manage both processes. Also use /api/ reverse proxy to internal 3000 port, exposing only 8080 port for convenience.

The results run container (8080:8080) provides:

  • Web Interface: http://localhost:8080
  • API endpoint: http://localhost:8080/api/redact

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karant-dev/AutoRedact/pull/52 **Author:** [@dragonish](https://github.com/dragonish) **Created:** 2/5/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docker` --- ### 📝 Commits (1) - [`1f8e95a`](https://github.com/karant-dev/AutoRedact/commit/1f8e95a0fce67a901d905fbca01ac9a8c0e73bc3) fix(docker): fix Docker image does not provide web services ### 📊 Changes **3 files changed** (+56 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+20 -29) 📝 `nginx.conf` (+16 -0) ➕ `supervisord.conf` (+20 -0) </details> ### 📄 Description In the currently published Docker image, only the last api stage is used, and no web stage is used, resulting in the image not providing web services, and only one API port of `3000` is available. This PR creates a production stage that runs both Nginx and Node API services and uses Supervisord to manage both processes. Also use `/api/` reverse proxy to internal `3000` port, exposing only `8080` port for convenience. The results run container (*`8080:8080`*) provides: - Web Interface: `http://localhost:8080` - API endpoint: `http://localhost:8080/api/redact` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AutoRedact#53
No description provided.