Skip to content

Authelia Authelia Authelia

Description / nameInput element
Container Registry
Container Configuration Root Path
Timezone
User ID
Group ID
Authelia Host Port
Authelia /config Path

Build Status Last Commit OCI Pulls

Authelia on FreeBSD.

Port 9091
Registry ghcr.io/daemonless/authelia-server
Daemonless daemonless/authelia-server
Source authelia/authelia
Website authelia.com

Version Tags

Tag Description Best For
latest Upstream Binary. Built from official release. Most users — recommended.
pkg FreeBSD Quarterly. Uses stable, tested packages. Most users — recommended.
pkg-latest FreeBSD Latest. Rolling package updates. Staying current.

Parts

Service Image Role
authelia-server ghcr.io/daemonless/authelia-server:latest docs
redis ghcr.io/daemonless/redis:latest docs

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions, including the security model for host vs. container privileges.

Deployment

1. Save as .env and fill in what is empty:

# Authelia for FreeBSD (Daemonless)
# Copy to .env and edit.

# Authelia configuration directory (configuration.yml, users_database.yml)
CONFIG_LOCATION=/containers/authelia/config

# Redis session store data
REDIS_DATA_LOCATION=/containers/authelia/redis

# Timezone (TZ identifier)
TZ=UTC

2. Save as compose.yaml:

name: authelia

services:
  authelia-server:
    image: ghcr.io/daemonless/authelia-server:latest
    container_name: authelia-server
    restart: unless-stopped
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=${TZ:-UTC}
    volumes:
      - ${CONFIG_LOCATION}:/config
    ports:
      - 9091:9091
    depends_on:
      - redis

  redis:
    container_name: authelia_redis
    image: ghcr.io/daemonless/redis:latest
    restart: unless-stopped
    network_mode: host
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${REDIS_DATA_LOCATION}:/config

Then run podman-compose up -d.

1
2
3
4
5
6
7
8
# .env

DIRECTOR_PROJECT=authelia-server
PUID=1000
PGID=1000
TZ=UTC
CONFIG_LOCATION=/containers/authelia/config
REDIS_DATA_LOCATION=/containers/authelia/redis
# appjail-director.yml

options:
  - alias:
  - ip4_inherit:
services:
  authelia-server:
    name: authelia_server
    options:
      - container: 'args:--pull'
      - expose: '9091:9091 proto:tcp'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
        - CONFIG_LOCATION: !ENV '${CONFIG_LOCATION}'
        - REDIS_DATA_LOCATION: !ENV '${REDIS_DATA_LOCATION}'
    volumes:
      - AUTHELIA_SERVER_CONFIG_PATH: /config
  authelia-redis:
    name: authelia_redis
    options:
      - from: ghcr.io/daemonless/redis:latest
      - template: !ENV '${PWD}/template.conf'
    volumes:
      - redis_data: /config
volumes:
  AUTHELIA_SERVER_CONFIG_PATH:
    device: '/containers/authelia-server'
  redis_data:
    device: !ENV '${REDIS_DATA_LOCATION}'
1
2
3
4
5
6
7
# Makejail

ARG tag=latest

OPTION container=boot
OPTION overwrite=force
OPTION from=ghcr.io/daemonless/authelia-server:${tag}

Save the files above, then run appjail-director up.

Access at: http://localhost:9091

Interactive Configuration

Parameters

Environment Variables

Variable Default Description
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ UTC Timezone for the container
CONFIG_LOCATION /containers/authelia/config Path to the Authelia configuration directory (configuration.yml, users database)
REDIS_DATA_LOCATION /containers/authelia/redis Path to store the redis session store

Volumes

Path Description
/config Configuration directory

Ports

Port Protocol Description
9091 TCP Web UI

Implementation Details

  • Architectures: amd64
  • User: bsd (UID/GID set via PUID/PGID). Defaults to 1000:1000.
  • Base: Built on ghcr.io/daemonless/base (FreeBSD 15.1).

Need help? Join our Discord community.