Sign inSign up

goosews/watcher

By goosews

•Updated 3 months ago

Image
0

934

goosews/watcher repository overview

Pulls on DockerHub Stars on DockerHub Stars on GitHub

⁠About

A simple Alpine docker image of about 80 MB which can be used to run paleg/Watcher⁠.

If you run in to any trouble, please create an issue on GitHub⁠.

⁠Getting Started

Docker run command:

docker run --name watcher -v /path/to/data:/data -v /dir1/to/watch:/watch/dir1 -v /dir2/to/watch:/watch/dir2 goosews/watcher:latest

Docker compose:

version: '3.3'
services:
    watcher:
        container_name: watcher
        volumes:
            - '/path/to/data:/data'
            - '/dir1/to/watch:/watch/dir1'
            - '/dir2/to/watch:/watch/dir2'
        image: 'goosews/watcher:latest'

The first time you run it, it will drop a watcher.ini.example file in your /data directory. Edit that file to your needs, then re-start the container.

It runs as root, because this allows you to chown as needed. Bear in mind that your scripts/commands can chown based on a non-existant UID/GID. So if you're UID:GID is 1003:1003, even if those do not exist in the /etc/passwd or /etc/group inside the container, you can still have your scripts do chown 1003:1003 $filename.

⁠License

Distributed under the MIT License. See LICENSE for more information.

Tag summary

Content type

Image

Digest

sha256:3d1225a08…

Size

35.5 MB

Last updated

over 3 years ago

docker pull goosews/watcher