diff --git a/README.md b/README.md index 74597f0..cb9f78b 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,42 @@ services: restart: unless-stopped ``` +### AppJail Director + +**.env**: + +``` +# .env + +DIRECTOR_PROJECT=nginx-base +``` + +**appjail-director.yml**: + +```yaml +# appjail-director.yml + +options: + - virtualnet: ': default' + - nat: +services: + nginx-base: + name: nginx_base + options: + - container: 'boot args:--pull' +``` + +**Makejail**: + +``` +# Makejail + +ARG tag=15 + +OPTION overwrite=force +OPTION from=ghcr.io/daemonless/nginx-base:${tag} +``` + ### Podman CLI ```bash @@ -48,6 +84,17 @@ podman run -d --name nginx-base \ ghcr.io/daemonless/nginx-base:latest ``` +### AppJail + +```bash +appjail oci run -Pd \ + -o overwrite=force \ + -o container="args:--pull" \ + -o virtualnet=": default" \ + -o nat \ + ghcr.io/daemonless/nginx-base:latest nginx-base +``` + ### Ansible ```yaml @@ -61,7 +108,7 @@ podman run -d --name nginx-base \ **Architectures:** amd64 **User:** `root` (UID/GID via PUID/PGID, defaults to 1000:1000) -**Base:** FreeBSD 15.0 +**Base:** FreeBSD 15.1 --- diff --git a/compose.yaml b/compose.yaml index 3c887fc..035327e 100644 --- a/compose.yaml +++ b/compose.yaml @@ -9,6 +9,7 @@ x-daemonless: web_url: "https://nginx.org/" user: "root" upstream_binary: false + appjail: true docs: {}