wireguard-ui/defaults/main.yaml
2022-07-13 21:53:42 +03:00

33 lines
1.2 KiB
YAML

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: "latest"
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 }}'