-
Notifications
You must be signed in to change notification settings - Fork 4
/
rustdesk.yml
55 lines (49 loc) · 1.32 KB
/
rustdesk.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
- hosts: homelab
vars:
application: rustdesk
docker_network: "{{ networks.pub }}"
tasks:
- name: Create config folder
ansible.builtin.file:
path: "{{ config_directory }}"
state: directory
owner: "{{ common_user }}"
group: "{{ common_group }}"
mode: "0771"
- name: Create id container
ansible.builtin.include_role:
name: docker_container
vars:
name: "{{ application }}-id"
image: rustdesk/rustdesk-server:1.1.11-1
command: hbbs
volumes:
- "{{ config_directory }}/hbbs:/root"
traefik:
-
name: rustdesk-nat-type-test
port: 21115
type: tcp
-
name: rustdesk-tcp-hole-punching
port: 21116
type: tcp
-
name: rustdesk-id-registration-and-heartbeat
port: 21116
type: udp
- name: Create relay container
ansible.builtin.include_role:
name: docker_container
vars:
name: "{{ application }}-relay"
image: rustdesk/rustdesk-server:1.1.11-1
command: hbbr
volumes:
- "{{ config_directory }}/hbbr:/root"
traefik:
-
name: rustdesk-relay-services
port: 21117
type: tcp