ansible-playbooks/roles/podman/defaults/main.yml
2025-11-15 00:18:01 +01:00

40 lines
1.2 KiB
YAML

---
podman_projects_dir: /opt/podman
# Unqualified search registries (for short image names like "redis:alpine")
podman_unqualified_search_registries:
- docker.io
- quay.io
- ghcr.io
# Podman bridge network configuration
# Define the network where containers will operate
# Leave empty to use Podman's default dynamic network assignment
# Example: "10.89.0.0/24" if you want to explicitly set it
podman_subnet: ""
# Podman bridge gateway IP (typically .1 of the bridge network)
# Used by services that need to bind to the bridge interface
# OCI Runtime
# crun (default, modern C runtime - fast) or runc (original Go runtime)
podman_runtime: crun
# Container logging configuration
# Log driver: journald (systemd journal) or k8s-file (JSON files)
podman_log_driver: journald
# k8s-file driver settings (only used when podman_log_driver: k8s-file)
podman_log_max_size: 10mb # Max size per log file before rotation
podman_log_max_files: 5 # Max number of rotated log files to keep
# Each network should define: name, subnet, gateway
# podman_external_networks: []
# Example:
# podman_external_networks:
# - name: immich
# subnet: 172.20.0.0/16
# gateway: 172.20.0.1
# - name: nextcloud
# subnet: 172.21.0.0/16
# gateway: 172.21.0.1