wireguard-ui/defaults/main.yaml

35 lines
1.3 KiB
YAML
Raw Normal View History

2022-07-13 19:06:29 +00:00
wireguard_install: yes
2022-07-13 11:51:25 +00:00
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"
2023-03-10 13:18:46 +00:00
wireguard_ui_image_tag: "0.4.0"
2022-07-13 11:51:25 +00:00
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"
2022-07-13 12:20:18 +00:00
#wireguard_ui_volumes: {}
2022-07-13 11:51:25 +00:00
wireguard_ui_default_volumes:
2022-07-13 12:20:18 +00:00
'/etc/wireguard': /etc/wireguard:Z
'{{ wireguard_ui_config_dir }}': /app/db:Z
2022-07-13 11:51:25 +00:00
2022-07-13 12:20:18 +00:00
#wireguard_ui_env: {}
2022-07-13 11:51:25 +00:00
wireguard_ui_default_env:
2023-03-10 13:18:46 +00:00
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: "/"
2022-07-13 11:51:25 +00:00
# Example for auth
#wireguard_ui_container_registry_auth:
# registry.example.com:
# username: '{{ username }}'
# password: '{{ password }}'