From 2f054cf15d7f6ee282b57e7d632b5736c40ca462 Mon Sep 17 00:00:00 2001 From: livdebus Date: Thu, 1 Oct 2026 23:40:59 +0200 Subject: [PATCH] switch to standalone only --- docker-compose.standalone.yml => compose.yml | 0 docker-compose.smb.yml | 46 -------------------- 2 files changed, 46 deletions(-) rename docker-compose.standalone.yml => compose.yml (100%) delete mode 100644 docker-compose.smb.yml diff --git a/docker-compose.standalone.yml b/compose.yml similarity index 100% rename from docker-compose.standalone.yml rename to compose.yml diff --git a/docker-compose.smb.yml b/docker-compose.smb.yml deleted file mode 100644 index 140897c..0000000 --- a/docker-compose.smb.yml +++ /dev/null @@ -1,46 +0,0 @@ -# Add this service to your Onyx docker-compose (same `onyx-network`). -# -# docker compose -f docker-compose.yml -f smb-connector/docker-compose.smb.yml up -d smb_connector -# -# The connector mounts the SMB/CIFS shares INSIDE the container (default mode) — -# no host mount needed. Just give it the share + credentials via env (see -# smb-connector/.env.example). For that, the container needs the two capabilities -# and the unconfined apparmor profile below (required for mount.cifs in a -# container; the host also needs the `cifs` kernel module, which is standard). -services: - smb_connector: - build: ./smb-connector - image: livtec/aido-smb-connector:local - container_name: aido-smb-connector - restart: unless-stopped - networks: - - onyx-network - env_file: - - path: ./smb-connector/.env - required: false - depends_on: - api_server: - condition: service_healthy - - # --- required to mount SMB/CIFS shares inside the container --------------- - cap_add: - - SYS_ADMIN - - DAC_READ_SEARCH - security_opt: - - apparmor:unconfined - # If your host's Docker still refuses the mount, use privileged mode instead - # of the two cap_add lines above: - # privileged: true - - volumes: - # Persist the sync manifest + cached api-key/cc_pair (survives restarts). - - ./smb-connector/state:/app/state - # NOTE: no host bind-mounts of the shares are needed in in-container mode. - # (Legacy host-mount mode still works: bind-mount the share here and OMIT - # the SMB_SOURCE_*_SERVER/_UNC env for that source, e.g. - # - /mnt/smb/finance:/mnt/smb/finance:ro ) - logging: - driver: json-file - options: - max-size: "50m" - max-file: "6"