Configure
Configuration
The installer saves its settings in /opt/axel/axel.yaml. Edit that file, then run sudo axel server install to apply
it; --dry-run shows what would change first. For a first install without prompts, pass the same file with
--config axel.yaml, with any files it names in the current directory.
hostnames: { app: axel.example.com, content: axel-content.example.com }
admin: { email: it@example.com } # gets Axel's notices, and is the owner account
licence: axel.license # as Veritas sent it; Axel does not run without one
certificate: { mode: acme, email: it@example.com } # or { mode: supplied, cert: chain.pem, key: key.pem }, or { mode: internal }
ports: { http: 80, https: 443 }
egress:
http: [api.openai.com, "192.168.1.50:8000"] # hosts Axel may call through its egress proxy
private: ["192.168.1.50:8000"] # private addresses or ranges the proxy and forwarder may reach
tcp: [{ host: smtp.office365.com, port: 587 }] # non-HTTP destinations, through the forwarder
backup:
time: "02:00" # nightly, UTC
keep: 7 # archives kept on each target
local: /mnt/axel-backups # a directory you mount on the host (NFS, SMB or USB), writable by uid 10001
s3:
endpoint: https://s3.example.com
bucket: axel-backups
prefix: site1/
credentials: s3.yaml # holds access_key_id and secret_access_key
smtp: # optional; without it, notices stay in the app
host: smtp.office365.com
port: 587
security: starttls # starttls, tls (port 465) or none
username: axel@example.com
password_file: smtp-password.txt # holds only the password
sender: axel@example.com # default axel@<app hostname>
updates:
check: true # reads the release index through the egress proxy; false on air-gapped sites
index: https://axel.veritas-si.com/releases.json
registry: # where releases come from; not used with --bundle
url: docker.io/veritassi # or a mirror that serves the same repositories anonymouslyNetwork access
Every container except Caddy and the forwarder sits on internal networks, so outbound traffic goes only to the hosts in
egress: HTTP and HTTPS through the egress proxy, other TCP through the forwarder. A destination that resolves to a
private address must also be in private. Changing egress restarts only the proxy or the forwarder.
Registry
Point registry.url at a mirror to pull releases from there instead of Docker Hub.