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"
|
2022-07-13 19:00:19 +00:00
|
|
|
wireguard_ui_image_tag: "0.3.7"
|
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:
|
|
|
|
WGUI_USERNAME: admin
|
|
|
|
WGUI_PASSWORD: admin
|
|
|
|
WGUI_MTU: 1420
|
|
|
|
BIND_ADDRESS: 127.0.0.1:5001
|
|
|
|
SESSION_SECRET: 74f8155b3c91437db6e6c29c28e23ecc
|
|
|
|
WGUI_CONFIG_FILE_PATH: /etc/wireguard/wg0.conf
|
2022-07-13 18:53:42 +00:00
|
|
|
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 }}'
|
|
|
|
|