container-role/defaults/main.yml
2024-11-19 10:44:58 +01:00

36 lines
1.1 KiB
YAML

---
# defaults file for container
containers_path: "/opt/podman"
containers_force_restart: ""
containers:
- name: "" # name
# rootless_user: "" # name of user
# rootless_userid: 5000
image: "" # image name
#privileged_ports_start: # privileged_port if needed
# - 53
# publish: # ports to publish
# - "53:53/tcp"
# - "53:53/udp"
# - "10080:80/tcp"
# expose:
# - "3000/tcp"
# env:
# TZ: 'Europe/Berlin'
# WEBPASSWORD: '{{ pihole_password }}'
# FTLCONF_REPLY_ADDR4: "{{ ansible_facts['default_ipv4']['address'] }}"
# VIRTUAL_HOST: "{{ pihole_hostname }}"
# VIRTUAL_PORT: 80
# PROXY_LOCATION: "{{ pihole_hostname }}"
# PIHOLE_DNS_: "193.17.47.1;185.43.135.1"
# DNSSEC: "true"
# dns:
# - 127.0.0.1
# - 193.17.47.1
# volume:
# - "{{ containers_path }}/pihole/etc-pihole/:/etc/pihole/"
# - "{{ containers_path }}/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/"
# network: "backend"
# restart_policy: "always"
# recreate: "true"
# state: "started"