Skip to content

Repository files navigation

Nginx Base

Build Status Last Commit

Shared base image for Nginx-based applications.

Registry ghcr.io/daemonless/nginx-base
Source https://github.com/daemonless/nginx-base
Website https://nginx.org/

Version Tags

Tag Description Best For
15 / 15.1 / latest / pkg FreeBSD Port. Built from FreeBSD packages. Production stability.
15-latest / 15.1-latest / pkg-latest FreeBSD Latest. Rolling package updates. Staying current.

Prerequisites

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions.

Deployment

Podman Compose

services:
  nginx-base:
    image: "ghcr.io/daemonless/nginx-base:latest"
    container_name: nginx-base
    restart: unless-stopped

AppJail Director

.env:

# .env

DIRECTOR_PROJECT=nginx-base

appjail-director.yml:

# appjail-director.yml

options:
  - virtualnet: ':<random> default'
  - nat:
services:
  nginx-base:
    name: nginx_base
    options:
      - container: 'boot args:--pull'

Makejail:

# Makejail

ARG tag=15.1

OPTION overwrite=force
OPTION from=ghcr.io/daemonless/nginx-base:${tag}

Podman CLI

podman run -d --name nginx-base \
  ghcr.io/daemonless/nginx-base:latest

AppJail

appjail oci run -Pd \
  -o overwrite=force \
  -o container="args:--pull" \
  -o virtualnet=":<random> default" \
  -o nat \
  ghcr.io/daemonless/nginx-base:latest nginx-base

Ansible

- name: Deploy nginx-base
  containers.podman.podman_container:
    name: nginx-base
    image: "ghcr.io/daemonless/nginx-base:latest"
    state: started
    restart_policy: always

Architectures: amd64, aarch64 User: root (UID/GID via PUID/PGID, defaults to 1000:1000) Base: FreeBSD 15.1


Need help? Join our Discord community.

Releases

Packages

Contributors

Languages