diff --git a/seedsync/.gitignore b/seedsync/.gitignore new file mode 100644 index 0000000..15b1ab8 --- /dev/null +++ b/seedsync/.gitignore @@ -0,0 +1,3 @@ +config/**/*.persist +config/**/*.bak +config/**/*.backup \ No newline at end of file diff --git a/seedsync/config/seedsync_junk/settings.cfg b/seedsync/config/seedsync_junk/settings.cfg new file mode 100644 index 0000000..6572ce4 --- /dev/null +++ b/seedsync/config/seedsync_junk/settings.cfg @@ -0,0 +1,35 @@ +[General] +debug = False +verbose = False + +[Lftp] +remote_address = asia.feralhosting.com +remote_username = tinyturtle +remote_password = password +remote_port = 22 +remote_path = /media/dmg/tinyturtle/junk_transfer +local_path = /downloads +remote_path_to_scan_script = /media/dmg/tinyturtle/.seedsync_junk_bin +use_ssh_key = True +num_max_parallel_downloads = 1 +num_max_parallel_files_per_download = 2 +num_max_connections_per_root_file = 5 +num_max_connections_per_dir_file = 5 +num_max_total_connections = 5 +use_temp_file = True + +[Controller] +interval_ms_remote_scan = 30000 +interval_ms_local_scan = 10000 +interval_ms_downloading_scan = 1000 +extract_path = /seedsynctmp +use_local_path_as_extract_path = True + +[Web] +port = 8802 + +[AutoQueue] +enabled = True +patterns_only = False +auto_extract = True + diff --git a/seedsync/config/seedsync_junk_movies/settings.cfg b/seedsync/config/seedsync_junk_movies/settings.cfg new file mode 100644 index 0000000..e3cee9e --- /dev/null +++ b/seedsync/config/seedsync_junk_movies/settings.cfg @@ -0,0 +1,35 @@ +[General] +debug = False +verbose = False + +[Lftp] +remote_address = asia.feralhosting.com +remote_username = tinyturtle +remote_password = password +remote_port = 22 +remote_path = /media/dmg/tinyturtle/junk_transfer_movies +local_path = /downloads +remote_path_to_scan_script = /media/dmg/tinyturtle/.seedsync_junk_movies_bin +use_ssh_key = True +num_max_parallel_downloads = 1 +num_max_parallel_files_per_download = 2 +num_max_connections_per_root_file = 5 +num_max_connections_per_dir_file = 5 +num_max_total_connections = 5 +use_temp_file = True + +[Controller] +interval_ms_remote_scan = 30000 +interval_ms_local_scan = 10000 +interval_ms_downloading_scan = 1000 +extract_path = /seedsynctmp +use_local_path_as_extract_path = True + +[Web] +port = 8805 + +[AutoQueue] +enabled = True +patterns_only = False +auto_extract = True + diff --git a/seedsync/config/seedsync_junk_packs/settings.cfg b/seedsync/config/seedsync_junk_packs/settings.cfg new file mode 100644 index 0000000..069f9d0 --- /dev/null +++ b/seedsync/config/seedsync_junk_packs/settings.cfg @@ -0,0 +1,35 @@ +[General] +debug = False +verbose = False + +[Lftp] +remote_address = asia.feralhosting.com +remote_username = tinyturtle +remote_password = password +remote_port = 22 +remote_path = /media/dmg/tinyturtle/junk_transfer_packs +local_path = /downloads +remote_path_to_scan_script = /media/dmg/tinyturtle/.seedsync_junk_packs_bin +use_ssh_key = True +num_max_parallel_downloads = 1 +num_max_parallel_files_per_download = 2 +num_max_connections_per_root_file = 5 +num_max_connections_per_dir_file = 5 +num_max_total_connections = 5 +use_temp_file = True + +[Controller] +interval_ms_remote_scan = 30000 +interval_ms_local_scan = 10000 +interval_ms_downloading_scan = 1000 +extract_path = /seedsynctmp +use_local_path_as_extract_path = True + +[Web] +port = 8804 + +[AutoQueue] +enabled = True +patterns_only = False +auto_extract = True + diff --git a/seedsync/config/seedsync_movies/settings.cfg b/seedsync/config/seedsync_movies/settings.cfg new file mode 100644 index 0000000..c3a1219 --- /dev/null +++ b/seedsync/config/seedsync_movies/settings.cfg @@ -0,0 +1,35 @@ +[General] +debug = False +verbose = False + +[Lftp] +remote_address = asia.feralhosting.com +remote_username = tinyturtle +remote_password = password +remote_port = 22 +remote_path = /media/dmg/tinyturtle/transfer/movies +local_path = /downloads +remote_path_to_scan_script = /media/dmg/tinyturtle/.seedsync_movies_bin +use_ssh_key = True +num_max_parallel_downloads = 1 +num_max_parallel_files_per_download = 1 +num_max_connections_per_root_file = 6 +num_max_connections_per_dir_file = 6 +num_max_total_connections = 6 +use_temp_file = True + +[Controller] +interval_ms_remote_scan = 30000 +interval_ms_local_scan = 10000 +interval_ms_downloading_scan = 1000 +extract_path = /seedsynctmp +use_local_path_as_extract_path = True + +[Web] +port = 8801 + +[AutoQueue] +enabled = True +patterns_only = False +auto_extract = True + diff --git a/seedsync/config/seedsync_other/settings.cfg b/seedsync/config/seedsync_other/settings.cfg new file mode 100644 index 0000000..3bd836d --- /dev/null +++ b/seedsync/config/seedsync_other/settings.cfg @@ -0,0 +1,35 @@ +[General] +debug = False +verbose = False + +[Lftp] +remote_address = asia.feralhosting.com +remote_username = tinyturtle +remote_password = password +remote_port = 22 +remote_path = /media/dmg/tinyturtle/transfer/other +local_path = /downloads +remote_path_to_scan_script = /media/dmg/tinyturtle/.seedsync_other_bin +use_ssh_key = True +num_max_parallel_downloads = 1 +num_max_parallel_files_per_download = 2 +num_max_connections_per_root_file = 4 +num_max_connections_per_dir_file = 4 +num_max_total_connections = 4 +use_temp_file = True + +[Controller] +interval_ms_remote_scan = 30000 +interval_ms_local_scan = 10000 +interval_ms_downloading_scan = 1000 +extract_path = /seedsynctmp +use_local_path_as_extract_path = True + +[Web] +port = 8803 + +[AutoQueue] +enabled = True +patterns_only = False +auto_extract = False + diff --git a/seedsync/config/seedsync_tv/settings.cfg b/seedsync/config/seedsync_tv/settings.cfg new file mode 100644 index 0000000..0077ae4 --- /dev/null +++ b/seedsync/config/seedsync_tv/settings.cfg @@ -0,0 +1,35 @@ +[General] +debug = False +verbose = False + +[Lftp] +remote_address = asia.feralhosting.com +remote_username = tinyturtle +remote_password = password +remote_port = 22 +remote_path = /media/dmg/tinyturtle/transfer/tv +local_path = /downloads +remote_path_to_scan_script = /media/dmg/tinyturtle/.seedsync_tv_bin +use_ssh_key = True +num_max_parallel_downloads = 1 +num_max_parallel_files_per_download = 2 +num_max_connections_per_root_file = 4 +num_max_connections_per_dir_file = 4 +num_max_total_connections = 4 +use_temp_file = True + +[Controller] +interval_ms_remote_scan = 30000 +interval_ms_local_scan = 10000 +interval_ms_downloading_scan = 1000 +extract_path = /seedsynctmp +use_local_path_as_extract_path = True + +[Web] +port = 8800 + +[AutoQueue] +enabled = True +patterns_only = False +auto_extract = True + diff --git a/seedsync/docker-compose.yml b/seedsync/docker-compose.yml new file mode 100644 index 0000000..e333f32 --- /dev/null +++ b/seedsync/docker-compose.yml @@ -0,0 +1,68 @@ +name: seedsync +services: + junksync: + image: ipsingh06/seedsync:latest + container_name: junksync + user: '998' + ports: + - 8802:8802 + volumes: + - /media/junk/new_transfer:/downloads + - ./config/seedsync_junk:/config + - /home/media/.ssh:/home/seedsync/.ssh + restart: unless-stopped + junkpacksync: + image: ipsingh06/seedsync:latest + container_name: junkpacksync + user: '998' + ports: + - 8804:8804 + volumes: + - /media/raid/junk_pack_transfer:/downloads + - ./config/seedsync_junk_packs:/config + - /home/media/.ssh:/home/seedsync/.ssh + restart: unless-stopped + junkmoviesync: + image: ipsingh06/seedsync:latest + container_name: junkmoviesync + user: '998' + ports: + - 8805:8805 + volumes: + - /media/raid/junk_movies_transfer:/downloads + - ./config/seedsync_junk_movies:/config + - /home/media/.ssh:/home/seedsync/.ssh + restart: unless-stopped + moviesync: + image: ipsingh06/seedsync:latest + container_name: moviesync + user: '998' + ports: + - 8801:8801 + volumes: + - /media/downloads/movies:/downloads + - ./config/seedsync_movies:/config + - /home/media/.ssh:/home/seedsync/.ssh + restart: unless-stopped + tvsync: + image: ipsingh06/seedsync:latest + container_name: tvsync + user: '998' + ports: + - 8800:8800 + volumes: + - /media/downloads/tv:/downloads + - ./config/seedsync_tv:/config + - /home/media/.ssh:/home/seedsync/.ssh + restart: unless-stopped + othersync: + image: ipsingh06/seedsync:latest + container_name: othersync + user: '998' + ports: + - 8803:8803 + volumes: + - /media/downloads/other:/downloads + - ./config/seedsync_other:/config + - /home/media/.ssh:/home/seedsync/.ssh + restart: unless-stopped