Overview

The Watcher release

First, let's update your docker-compose.yml file to include a new volume that will expose the /tmp/imports/watched/ directory to the host machine. Add the following lines to the volumes section of the docker-compose.yml file:

  ...
 
  dawarich_app:
    image: freikin/dawarich:latest
    container_name: dawarich_app
    volumes:
      - dawarich_public:/var/app/public
+     - dawarich_watched:/var/app/tmp/imports/watched
 
  ...
 
  dawarich_sidekiq:
      image: freikin/dawarich:latest
      container_name: dawarich_sidekiq
      volumes:
        - dawarich_public:/var/app/public
+       - dawarich_watched:/var/app/tmp/imports/watched
 
  ...
 
volumes:
  dawarich_db_data:
  dawarich_shared:
  dawarich_public:
+ dawarich_watched:

Now, in the container, create a directory for your user (/var/app/tmp/imports/watched/your_user@email.com/) and put your GPX, Owntracks' .rec and GeoJSON files to the directory.

Dawarich will automatically import the files and you will receive a notification in the app after the file is imported.

Was this page helpful?