From 8c3d226e60c38bee874368f3e508c0476c0654ef Mon Sep 17 00:00:00 2001 From: M_Viper Date: Tue, 13 Feb 2024 06:04:06 +0000 Subject: [PATCH] =?UTF-8?q?install-paperlessngx-on-docker/docker-compose.y?= =?UTF-8?q?ml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../docker-compose.yml | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 install-paperlessngx-on-docker/docker-compose.yml diff --git a/install-paperlessngx-on-docker/docker-compose.yml b/install-paperlessngx-on-docker/docker-compose.yml new file mode 100644 index 0000000..cf31430 --- /dev/null +++ b/install-paperlessngx-on-docker/docker-compose.yml @@ -0,0 +1,86 @@ +name: paperless +services: + paperless: + image: ghcr.io/paperless-ngx/paperless-ngx:2.4.3 + restart: unless-stopped + depends_on: + - db + - broker + ports: + - '8005:8000' + healthcheck: + test: + - CMD + - curl + - '-f' + - http://localhost:8000 + interval: 30s + timeout: 10s + retries: 5 + volumes: + - /DATA/AppData/paperless/data:/usr/src/paperless/data + - /DATA/AppData/paperless/media:/usr/src/paperless/media + - /DATA/AppData/paperless/export:/usr/src/paperless/export + - /DATA/AppData/paperless/consume:/usr/src/paperless/consume + environment: + PAPERLESS_REDIS: redis://broker:6379 + PAPERLESS_DBENGINE: mariadb + PAPERLESS_DBHOST: db + PAPERLESS_DBUSER: paperless + PAPERLESS_DBPASS: paperless + PAPERLESS_DBPORT: '3306' + PAPERLESS_ADMIN_USER: admin + PAPERLESS_ADMIN_PASSWORD: admin + networks: + - paperless_network + + broker: + image: redis:7.0 + restart: unless-stopped + volumes: + - /DATA/AppData/paperless/redis/data:/data + networks: + - paperless_network + + db: + image: mariadb:11.2.2 + restart: unless-stopped + volumes: + - /DATA/AppData/paperless/mysql:/var/lib/mysql + environment: + MARIADB_HOST: paperless + MARIADB_DATABASE: paperless + MARIADB_USER: paperless + MARIADB_PASSWORD: paperless + MARIADB_ROOT_PASSWORD: paperless + networks: + - paperless_network + +networks: + paperless_network: + driver: bridge + +x-casaos: + architectures: + - amd64 + - arm + - arm64 + main: paperless + description: + en_us: Paperless-ngx forked from paperless-ng to continue the great work and distribute responsibility of supporting and advancing the project among a team of people. + tagline: + en_us: Paperless-ngx is a document management system that transforms your physical documents into a searchable online archive so you can keep, well, less paper. + developer: paperless-ngx + author: WisdomSky + icon: https://avatars.githubusercontent.com/u/99562962 + thumbnail: https://avatars.githubusercontent.com/u/99562962 + title: + en_us: Paperless-ngx + tips: + before_install: + en_us: | + ## Credentials: + username: `admin` + password: `admin` + category: Coolstore + port_map: '8005' \ No newline at end of file