From 118a4bcb87e0451e5b6ac47039cd4600a52e3c54 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Sat, 5 Oct 2024 12:57:20 +0200 Subject: [PATCH] Update CHANGELOG.md and docker-compose.yml for the new watcher directory --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ docker-compose.yml | 2 ++ 2 files changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 131fe454..d236419c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](http://semver.org/). # 0.15.3 - 2024-10-05 +To expose the watcher functionality to the user, a new directory `/tmp/imports/watched/` was created. Add new volume to the `docker-compose.yml` file to expose this directory to the host machine. + +```diff + ... + + dawarich_app: + image: freikin/dawarich:latest + container_name: dawarich_app + volumes: + - gem_cache:/usr/local/bundle/gems + - public:/var/app/public ++ - watched:/var/app/tmp/watched + + ... + + dawarich_sidekiq: + image: freikin/dawarich:latest + container_name: dawarich_sidekiq + volumes: + - gem_cache:/usr/local/bundle/gems + - public:/var/app/public ++ - watched:/var/app/tmp/watched + + ... +``` + ### Changed - Watcher now looks into `/tmp/imports/watched/USER@EMAIL.TLD` directory instead of `/tmp/imports/watched/` to allow using arbitrary file names for imports diff --git a/docker-compose.yml b/docker-compose.yml index 2f98cee8..c94a3ea8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,7 @@ services: volumes: - gem_cache:/usr/local/bundle/gems - public:/var/app/public + - watched:/var/app/tmp/watched networks: - dawarich ports: @@ -68,6 +69,7 @@ services: volumes: - gem_cache:/usr/local/bundle/gems - public:/var/app/public + - watched:/var/app/tmp/watched networks: - dawarich stdin_open: true