Public | Automated Build

Last pushed: 2 months ago
Short Description
Latest nginx on latest Alpine
Full Description

Alpine Nginx

Latest Nginx on latest Alpine with latest LibreSSL.

For exact versions see the Dockerfile.

To run it locally on port 8080 use:

docker run --rm -it -p 8080:80 wiktork/alpine-nginx:latest

Use a named tag instead of latest to pin versions.

Configuration

Nginx inside this container is without configuration.
To supply your own configuration files add a volume and explicit option.

Below is a sample Docker Compose file:

web:
    image: "wiktork/alpine-nginx:1.13.2-3.5-2.5.4"
    command: ["/nginx/sbin/nginx", "-g", "daemon off;", "-c", "/configuration/nginx.conf"]
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - /configuration:/configuration
    restart: unless-stopped

This image on Docker Hub.

Docker Pull Command
Owner
wiktork
Source Repository

Comments (0)