



services:
mini-qr:
image: ghcr.io/lyqht/mini-qr:latest
container_name: Mini-QR
healthcheck:
test: ["CMD-SHELL", "nc -z 127.0.0.1 8080 || exit 1"]
interval: 10s
timeout: 5s
retries: 3
start_period: 90s
ports:
- 5877:8080
restart: on-failure:5
chaunnt/MiniQR: Mini accessible web app to generate customized qr codes easily 👾
services:
mini-qr:
# image: ghcr.io/lyqht/mini-qr:latest
container_name: mini-qr
restart: unless-stopped
# Uncomment the following lines to build locally instead of pulling from ghcr.io
build:
context: .
dockerfile: Dockerfile
args:
- BASE_PATH=${BASE_PATH:-/mini-qr/}
- VITE_HIDE_CREDITS=${HIDE_CREDITS:-false}
- VITE_DEFAULT_PRESET=${DEFAULT_PRESET:-}
- VITE_DEFAULT_DATA_TO_ENCODE=${DEFAULT_DATA:-}
- VITE_QR_CODE_PRESETS=${PRESETS:-}
- VITE_FRAME_PRESET=${FRAME_PRESET:-}
- VITE_FRAME_PRESETS=${FRAME_PRESETS:-}
- VITE_DISABLE_LOCAL_STORAGE=${DISABLE_LOCAL_STORAGE:-false}
# volumes:
# - ./public:/usr/share/nginx/html/public:ro
# - ./nginx.conf:/etc/nginx/nginx.conf:ro
networks:
- mini-qr-network
nginx-proxy:
image: nginx:alpine
container_name: nginx-proxy
ports:
- 5877:8080 #80:80
restart: unless-stopped
volumes:
- ./nginx-proxy.conf:/etc/nginx/nginx.conf:ro
depends_on:
- mini-qr
networks:
- mini-qr-network
networks:
mini-qr-network:
driver: bridge



