ansible-nas/roles/ansible-nas-docker/defaults/main.yml
2023-04-15 14:03:10 +01:00

17 lines
675 B
YAML

---
ansible_nas_user: david
# Where you want to store application data - you'll likely want this backed up or on a ZFS zpool.
docker_home: /mnt/Volume2/docker
# Where you want Docker to store images
# Keep this on a fast disk, ideally an SSD. It doesn't need to be backed up.
docker_image_directory: "/var/lib/docker"
# Docker storage driver, see https://docs.docker.com/storage/storagedriver/select-storage-driver/#supported-backing-filesystems
# You might want to change this to ZFS, depending on your underlying filesystem.
docker_storage_driver: overlay2
docker_daemon_json:
data-root: "{{ docker_image_directory }}"
storage-driver: "{{ docker_storage_driver }}"