From d63df7bc0dd55fd5762c15eaf7765f3654778935 Mon Sep 17 00:00:00 2001 From: Maksim Pankov Date: Sun, 19 Nov 2023 09:28:35 +0000 Subject: [PATCH] Deluge working --- .gitattributes | 1 + services/deluge/.gitignore | 2 + services/deluge/data/config/core.conf | 95 +++++++++++++++++++++++++++ services/deluge/docker-compose.yml | 3 +- 4 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 services/deluge/.gitignore create mode 100644 services/deluge/data/config/core.conf diff --git a/.gitattributes b/.gitattributes index ca9c43f..efb0fe8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ *.torrent filter=lfs diff=lfs merge=lfs -text +*.resume filter=lfs diff=lfs merge=lfs -text diff --git a/services/deluge/.gitignore b/services/deluge/.gitignore new file mode 100644 index 0000000..8cfd319 --- /dev/null +++ b/services/deluge/.gitignore @@ -0,0 +1,2 @@ +data/config/**/* +!data/config/core.conf \ No newline at end of file diff --git a/services/deluge/data/config/core.conf b/services/deluge/data/config/core.conf new file mode 100644 index 0000000..9adda65 --- /dev/null +++ b/services/deluge/data/config/core.conf @@ -0,0 +1,95 @@ +{ + "file": 1, + "format": 1 +}{ + "add_paused": false, + "allow_remote": true, + "auto_manage_prefer_seeds": false, + "auto_managed": true, + "cache_expiry": 60, + "cache_size": 512, + "copy_torrent_file": false, + "daemon_port": 58846, + "del_copy_torrent_file": false, + "dht": true, + "dont_count_slow_torrents": false, + "download_location": "/downloads", + "download_location_paths_list": [], + "enabled_plugins": [], + "enc_in_policy": 1, + "enc_level": 2, + "enc_out_policy": 1, + "geoip_db_location": "/usr/share/GeoIP/GeoIP.dat", + "ignore_limits_on_local_network": true, + "info_sent": 0.0, + "listen_interface": "", + "listen_ports": [ + 6881, + 6881 + ], + "listen_random_port": null, + "listen_reuse_port": true, + "listen_use_sys_port": false, + "lsd": true, + "max_active_downloading": 3, + "max_active_limit": 8, + "max_active_seeding": 5, + "max_connections_global": 200, + "max_connections_per_second": 20, + "max_connections_per_torrent": -1, + "max_download_speed": -1.0, + "max_download_speed_per_torrent": -1, + "max_half_open_connections": 20, + "max_upload_slots_global": 4, + "max_upload_slots_per_torrent": -1, + "max_upload_speed": -1.0, + "max_upload_speed_per_torrent": -1, + "move_completed": false, + "move_completed_path": "/downloads", + "move_completed_paths_list": [], + "natpmp": true, + "new_release_check": true, + "outgoing_interface": "", + "outgoing_ports": [ + 0, + 0 + ], + "path_chooser_accelerator_string": "Tab", + "path_chooser_auto_complete_enabled": true, + "path_chooser_max_popup_rows": 20, + "path_chooser_show_chooser_button_on_localhost": true, + "path_chooser_show_hidden_files": false, + "peer_tos": "0x00", + "plugins_location": "/config/plugins", + "pre_allocate_storage": false, + "prioritize_first_last_pieces": false, + "proxy": { + "anonymous_mode": false, + "force_proxy": false, + "hostname": "", + "password": "", + "port": 8080, + "proxy_hostnames": true, + "proxy_peer_connections": true, + "proxy_tracker_connections": true, + "type": 0, + "username": "" + }, + "queue_new_to_top": false, + "random_outgoing_ports": true, + "random_port": false, + "rate_limit_ip_overhead": true, + "remove_seed_at_ratio": false, + "seed_time_limit": 180, + "seed_time_ratio_limit": 7.0, + "send_info": false, + "sequential_download": false, + "share_ratio_limit": 2.0, + "shared": false, + "stop_seed_at_ratio": false, + "stop_seed_ratio": 2.0, + "super_seeding": false, + "torrentfiles_location": "/config/torrents", + "upnp": true, + "utpex": true +} \ No newline at end of file diff --git a/services/deluge/docker-compose.yml b/services/deluge/docker-compose.yml index 548c4c8..db60d67 100644 --- a/services/deluge/docker-compose.yml +++ b/services/deluge/docker-compose.yml @@ -14,7 +14,8 @@ services: - /mnt/Teka1/Videos:/mnt/Teka1/Videos - /mnt/Teka2/Videos:/mnt/Teka2/Videos ports: - - 8112:8112 # Web UI + # - 8112:8112 # Web UI + - 58846:58846 # RPC - 6881:6881 # Inbound torrent traffic - 6881:6881/udp # Inbound torrent traffic restart: always \ No newline at end of file