mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-25 07:57:26 +00:00
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
wireguard_install: yes
|
|
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.3.7"
|
|
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
|
|
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 }}'
|
|
|