-
Notifications
You must be signed in to change notification settings - Fork 5
/
jdownloader.yml
64 lines (56 loc) · 2.48 KB
/
jdownloader.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
56
57
58
59
60
61
62
63
64
---
- hosts: homelab
vars:
application: jdownloader
docker_network: "{{ networks.pub }}"
tasks:
- name: Create config folder
ansible.builtin.file:
path: "{{ config_directory }}"
state: directory
owner: "{{ common_user }}"
group: "{{ common_root_group }}"
mode: "0771"
- name: Create container
ansible.builtin.include_role:
name: docker_container
vars:
image: jlesage/jdownloader-2:v24.12.1
ipv4_address: "{{ docker_network.prefix }}.247"
env:
TZ: "{{ common_timezone }}"
USER_ID: "{{ common_user_id | string }}"
GROUP_ID: "{{ common_root_group | string }}"
KEEP_APP_RUNNING: "1"
SECURE_CONNECTION_VNC_METHOD: "TLS"
MYJDOWNLOADER_EMAIL: &_jdownloader_username !vault |
$ANSIBLE_VAULT;1.1;AES256
37393330356539336136613266353331626431663865303164386332343532303965326262393032
3933356139373234626365303136316135636534623138360a646537383739363362383763376262
32323464313031313233326135373464653061366262303831363337646638373263353237623236
3562303131323834620a383366626236363436343661303366356132663261383966636364363530
65636366646566663161396165383537643162336166643135636539646263373362
MYJDOWNLOADER_PASSWORD: &_jdownloader_password !vault |
$ANSIBLE_VAULT;1.1;AES256
33346636666265363031326666633662303963643433623036323037336238656332386232393039
3430643565356138326661636465626565633763343066320a363362646539326234633261353465
63613937326535646463393466653365356136633534316138633562333238336232393536326433
3838663039336262370a636565333431383735643664636633633065396137333666323335363536
66373931333162373763633035633137373536383331303737623761333432623830666232656435
3461303665333163666364383731373035373737656536346464
MYJDOWNLOADER_DEVICE_NAME: &_jdownloader_device_name "{{ application }}"
volumes:
- "{{ config_directory }}:/config"
- "{{ common_directory_download }}:/output"
traefik:
- port: 5800
auth: page
homepage:
name: jDownloader
group: Favourites
weight: 210
description: "Download manager for hosting sites"
widget:
username: *_jdownloader_username
password: *_jdownloader_password
client: *_jdownloader_device_name