Skip to content
Discussion options

You must be logged in to vote

yep, you can skip the bundled nginx container if Nginx Proxy Manager is already your front proxy.

The app image itself listens on 8080 (serve -s dist -l 8080). I tested the prebuilt image directly with docker run -p 127.0.0.1:18082:8080 ghcr.io/lyqht/mini-qr:latest, and also with a compose file containing only the mini-qr service + ports; both returned 200 from /.

A minimal compose setup can be:

services:
  mini-qr:
    image: ghcr.io/lyqht/mini-qr:latest
    ports:
      - "127.0.0.1:8080:8080"

Then point NPM at that host/port. If NPM is attached to the same Docker network, you can skip host port publishing and proxy to mini-qr:8080 inside the network. The included nginx service is mainl…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Robinio3d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants