From ed33a36125599841cc08c9dcac3a2b2a4abbfb2a Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Mon, 24 Jun 2024 14:59:24 +0200 Subject: [PATCH] chore: remove standalone clamav example --- deployments/examples/ocis_clamav/README.md | 6 -- .../examples/ocis_clamav/docker-compose.yml | 57 ------------------- 2 files changed, 63 deletions(-) delete mode 100644 deployments/examples/ocis_clamav/README.md delete mode 100644 deployments/examples/ocis_clamav/docker-compose.yml diff --git a/deployments/examples/ocis_clamav/README.md b/deployments/examples/ocis_clamav/README.md deleted file mode 100644 index 027d3b37e4..0000000000 --- a/deployments/examples/ocis_clamav/README.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -document this deployment example in: docs/ocis/deployment/ocis_clamav.md ---- - -Please refer to [our documentation](https://owncloud.dev/ocis/deployment/ocis_clamav/) -for instructions on how to run this scenario. diff --git a/deployments/examples/ocis_clamav/docker-compose.yml b/deployments/examples/ocis_clamav/docker-compose.yml deleted file mode 100644 index 1d3e9c2fe4..0000000000 --- a/deployments/examples/ocis_clamav/docker-compose.yml +++ /dev/null @@ -1,57 +0,0 @@ ---- -version: "3.7" - -services: - ocis: - image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest} - networks: - ocis-net: - entrypoint: - - /bin/sh - # run ocis init to initialize a configuration file with random secrets - # it will fail on subsequent runs, because the config file already exists - # therefore we ignore the error and then start the ocis server - command: [ "-c", "ocis init || true; ocis server" ] - environment: - # setup is for demonstration purposes only; - OCIS_INSECURE: "${INSECURE:-false}" - OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-info} - # admin user password - IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file - # demo users - IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-true}" - # enable the antivirus service - OCIS_ADD_RUN_SERVICES: "antivirus" - # configure the antivirus service - POSTPROCESSING_STEPS: "virusscan" - ANTIVIRUS_SCANNER_TYPE: "clamav" - ANTIVIRUS_CLAMAV_SOCKET: "/var/run/clamav/clamd.sock" - volumes: - - "ocis-config:/etc/ocis" - - "ocis-data:/var/lib/ocis" - - "clamav-socket:/var/run/clamav" - ports: - - 9200:9200 - logging: - driver: "local" - restart: always - - clamav: - image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest} - networks: - ocis-net: - volumes: - - "clamav-socket:/tmp" - - "clamav-db:/var/lib/clamav" - logging: - driver: "local" - restart: always - -volumes: - clamav-socket: - clamav-db: - ocis-config: - ocis-data: - -networks: - ocis-net: