Configuration

Configuration #

This section covers all configuration options for Quad-Ops, from basic setup to advanced repository management.

Global Options #

OptionTypeDefaultDescription
repositoryDirstring/var/lib/quad-opsDirectory where repositories are stored
syncIntervalduration5mInterval between repository synchronization
quadletDirstring/etc/containers/systemdDirectory for quadlet files
userModebooleanfalseWhether to run in user mode
verbosebooleanfalseEnable verbose logging
repositoriesarray-List of repositories to manage

Repository Options #

OptionTypeDefaultDescription
namestring-Unique identifier for the repository
urlstring-Git repository URL to clone/pull from
refstring-Git reference to checkout (branch, tag, or commit hash)
composeDirstring""Subdirectory within repo where Docker Compose files are located

Example Configuration #

# Global settings
repositoryDir: /var/lib/quad-ops
syncInterval: 10m
quadletDir: /etc/containers/systemd
userMode: false
verbose: true

# Repository definitions
repositories:
  - name: app1
    url: https://github.com/example/app1
    ref: main
    composeDir: compose

  - name: app2
    url: https://github.com/example/app2
    ref: dev