wireguard-ui/defaults/main.yaml
2024-07-08 02:07:16 +03:00

35 lines
1.3 KiB
YAML

wireguard_ui_wireguard_install: true
wireguard_ui_container_engine: "{{ container_engine | default('podman') }}"
wireguard_ui_container_name: "wireguard-ui"
wireguard_ui_network_mode: "host"
wireguard_ui_config_dir: "/opt/{{ wireguard_ui_container_name }}"
wireguard_ui_container_registry: "{{ container_registry | default(docker_registry) | default('docker.io') }}"
wireguard_ui_image_name: "ngoduykhanh/wireguard-ui"
wireguard_ui_image_tag: "0.6.2"
wireguard_ui_systemd_unit_name: "{{ wireguard_ui_container_name }}.service"
wireguard_ui_watcher_systemd_service_unit_name: "{{ wireguard_ui_container_name }}-watcher.service"
wireguard_ui_watcher_systemd_path_unit_name: "{{ wireguard_ui_container_name }}-watcher.path"
#wireguard_ui_volumes: {}
wireguard_ui_default_volumes:
'/etc/wireguard': /etc/wireguard:Z
'{{ wireguard_ui_config_dir }}': /app/db:Z
#wireguard_ui_env: {}
wireguard_ui_default_env:
WGUI_USERNAME: "admin"
WGUI_PASSWORD: "admin"
WGUI_MTU: "1420"
WGUI_SERVER_INTERFACE_ADDRESSES: "10.252.1.1/24"
BIND_ADDRESS: "127.0.0.1:5001"
SESSION_SECRET: "74f8155b3c91437db6e6c29c28e23ecc"
WGUI_CONFIG_FILE_PATH: "/etc/wireguard/wg0.conf"
BASE_PATH: "/"
# Example for auth
#wireguard_ui_container_registry_auth:
# registry.example.com:
# username: '{{ username }}'
# password: '{{ password }}'