Lightweight nginx container with autoindex and gzip compression for file sharing.
  • Dockerfile 100%
Find a file
Renovate Bot a6696d9e7d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update nginx Docker tag to v1.29 (#2)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| nginx | final | minor | `1.24-alpine` → `1.29-alpine` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4wLjUiLCJ1cGRhdGVkSW5WZXIiOiI0My4wLjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #2
Co-authored-by: Renovate Bot <renovate-bot@noreply.git.hackmi.ch>
Co-committed-by: Renovate Bot <renovate-bot@noreply.git.hackmi.ch>
2026-02-23 16:08:04 +01:00
conf Added project 2025-07-27 13:10:05 +02:00
.gitignore Initial commit 2025-07-27 10:49:49 +00:00
.woodpecker.yml Changed Workflow CI 2025-09-26 13:16:38 +02:00
Dockerfile Update nginx Docker tag to v1.29 (#2) 2026-02-23 16:08:04 +01:00
LICENSE Initial commit 2025-07-27 10:49:49 +00:00
README.md Add comprehensive README with build and usage instructions 2025-09-28 20:49:38 +02:00
renovate.json Add renovate.json 2026-02-22 20:09:56 +00:00

docker-nginx-autoindex

Lightweight nginx container with autoindex and gzip compression for file sharing.

Build

docker build -t docker-nginx-autoindex:latest .

Features

  • Autoindex directory listing
  • Gzip compression enabled
  • Alpine-based (small footprint)
  • Health checks included
  • Volume mounting for assets and logs

Docker CLI

docker run -d \
  --name nginx-autoindex \
  -p 8080:80 \
  -v /path/to/files:/assets \
  -v /path/to/logs:/log \
  git.hackmi.ch/phil/docker-nginx-autoindex:latest

Access at http://localhost:8080

Docker Compose

version: '3.8'
services:
  nginx-autoindex:
    image: git.hackmi.ch/phil/docker-nginx-autoindex:latest
    container_name: nginx-autoindex
    ports:
      - "8080:80"
    volumes:
      - ./files:/assets
      - ./logs:/log
    restart: unless-stopped

Volumes

  • /assets - Your files to serve
  • /log - Nginx logs (access.log, error.log)