Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 48 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,60 @@ services:
restart: unless-stopped
```

### AppJail Director

**.env**:

```
# .env

DIRECTOR_PROJECT=nginx-base
```

**appjail-director.yml**:

```yaml
# appjail-director.yml

options:
- virtualnet: ':<random> 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
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=":<random> default" \
-o nat \
ghcr.io/daemonless/nginx-base:latest nginx-base
```

### Ansible

```yaml
Expand All @@ -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

---

Expand Down
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ x-daemonless:
web_url: "https://nginx.org/"
user: "root"
upstream_binary: false
appjail: true

docs: {}

Expand Down
Loading