services: minor updates:wq

This commit is contained in:
tylen 2025-08-13 21:59:08 +03:00
parent ea4dea8617
commit 0daf0e46b1
8 changed files with 44 additions and 5 deletions

View File

@ -1,3 +1,4 @@
# Dot Env for service navidrome created at Fri Apr 25 12:49:34 AM EEST 2025 # Dot Env for service navidrome created at Fri Apr 25 12:49:34 AM EEST 2025
NAVIDROME_DATA="/home/vm-user/local-apps/navidrome/data" NAVIDROME_DATA="/home/vm-user/local-apps/navidrome/data"
NAVIDROME_CONFIG="/home/vm-user/local-apps/navidrome/data/navidrome.toml"
NAVIDROME_MUSIC="/home/vm-user/Media/Music" NAVIDROME_MUSIC="/home/vm-user/Media/Music"

View File

@ -6,6 +6,7 @@ services:
privileged: true privileged: true
container_name: portainer container_name: portainer
hostname: portainer hostname: portainer
restart: unless-stopped
ports: ports:
- ${SVC_PORT_1}:9443 - ${SVC_PORT_1}:9443
volumes: volumes:

View File

@ -135,6 +135,20 @@ services:
<<: *vm-tools-100-65 <<: *vm-tools-100-65
<<: *defaultServiceValues <<: *defaultServiceValues
- name: "it_tools"
ports:
- 3009
host:
<<: *vm-tools-100-65
<<: *defaultServiceValues
- name: "stirling_pdf"
ports:
- 3010
host:
<<: *vm-tools-100-65
<<: *defaultServiceValues
# ================================ # ================================
# vm-netw0rk-100-75 # vm-netw0rk-100-75
# ================================ # ================================

View File

@ -0,0 +1,6 @@
# Dot Env for service stirling_pdf created at Wed Jul 9 11:30:19 PM EEST 2025
REMOTE_APPS='/home/vm-user/remote-apps'
#STIRLING_PDF_CONFIG_REMOTE='${REMOTE_APPS}/config'
#STIRLING_PDF_CONFIG_LOCAL='${LOCAL_APPS}/config'
#STIRLING_PDF_DATA_REMOTE='${REMOTE_APPS}/data'
STIRLING_PDF_DATA_LOCAL='/home/vm-user/local-apps/stirling-pdf/data'

View File

@ -0,0 +1,15 @@
# Docker Compose for service stirling_pdf created at Wed Jul 9 11:30:19 PM EEST 2025
services:
stirling-pdf:
image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest
ports:
- '${SVC_PORT_1}:8080'
volumes:
- '${STIRLING_PDF_DATA_LOCAL}/trainingData:/usr/share/tessdata' # Required for extra OCR languages
- '${STIRLING_PDF_DATA_LOCAL}/extraConfigs:/configs'
- '${STIRLING_PDF_DATA_LOCAL}/customFiles:/customFiles/'
- '${STIRLING_PDF_DATA_LOCAL}/logs:/logs/'
- '${STIRLING_PDF_DATA_LOCAL}/pipeline:/pipeline/'
environment:
- DISABLE_ADDITIONAL_FEATURES=false
- LANGS=en_GB

View File

@ -41,7 +41,7 @@ class DockerServiceCLI(BaseCli):
'-f', '-f',
'--services-file', '--services-file',
help='Path to the services file', help='Path to the services file',
default='services.yaml', default=self.get_dedault_services_file(),
type=file_arg_type type=file_arg_type
) )
parser.add_argument( parser.add_argument(
@ -71,6 +71,9 @@ class DockerServiceCLI(BaseCli):
self.args = self.process_args(parser) self.args = self.process_args(parser)
self.services_basedir = find_git_base_dir() + f'/{SERVICES_DIR_RELATIVE_GIT_ROOT}' self.services_basedir = find_git_base_dir() + f'/{SERVICES_DIR_RELATIVE_GIT_ROOT}'
def get_dedault_services_file(self):
return find_git_base_dir() + '/services/services.yaml'
def load_services(self) -> List[Service]: def load_services(self) -> List[Service]:
with open(self.args.services_file, 'r') as file: with open(self.args.services_file, 'r') as file:
services_data = yaml.safe_load(file) services_data = yaml.safe_load(file)

View File

@ -1,5 +1,5 @@
CONFIG_PATH="/home/vm-user/remote-apps/wireguard/etc" CONFIG_PATH="/home/vm-user/remote-apps/wireguard/etc"
WG_ALLOWED_IPS=0.0.0.0/0 WG_ALLOWED_IPS=0.0.0.0/0, ::/0
WG_DEFAULT_ADDRESS=192.168.99.x WG_DEFAULT_ADDRESS=192.168.99.x
WG_DEFAULT_DNS=192.168.100.96 WG_DEFAULT_DNS=192.168.100.96
WG_DEVICE=eth0 WG_DEVICE=eth0

View File

@ -1,6 +1,5 @@
# Dot Env for service youtube_downloaders created at Wed Apr 23 10:18:19 PM EEST 2025 # Dot Env for service youtube_downloaders created at Wed Apr 23 10:18:19 PM EEST 2025
BASE="/home/vm-user" BASE="/home/vm-user"
METATUBE_DOWNLOADS="${BASE}/Media/Music" METUBE_DOWNLOADS="${BASE}/Media/Music"
METATUBE_DB="${BASE}/local-apps/youtube_downloaders/metatube/db" METATUBE_DB="${BASE}/local-apps/youtube_downloaders/metatube/db"
METATUBE_MIGRATIONS="${BASE}/local-apps/youtube_downloaders/metatube/migrations" METATUBE_MIGRATIONS="${BASE}/local-apps/youtube_downloaders/metatube/migrations"
METUBE_DOWNLOADS="${BASE}/Media/Downloads/MeTube"