https://github.com/floscha/seawatch
Simple observer that rebuilds and updates single Docker services when their code changes
https://github.com/floscha/seawatch
build-automation docker-compose python
Last synced: about 2 months ago
JSON representation
Simple observer that rebuilds and updates single Docker services when their code changes
- Host: GitHub
- URL: https://github.com/floscha/seawatch
- Owner: floscha
- License: mit
- Created: 2017-11-18T19:11:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-24T20:06:47.000Z (about 5 years ago)
- Last Synced: 2025-02-22T06:24:51.656Z (over 1 year ago)
- Topics: build-automation, docker-compose, python
- Language: Python
- Size: 114 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# SeaWatch
[](https://travis-ci.org/floscha/seawatch)
[](https://www.codacy.com/app/floscha/seawatch?utm_source=github.com&utm_medium=referral&utm_content=floscha/seawatch&utm_campaign=Badge_Grade)
Simple observer that rebuilds and updates single Docker services when their code changes.
## Usage
1. Make sure Python (including pip) is installed.
2. From within the project folder, install __SeaWatch__ like so:
```
$ pip install .
```
3. Run the command line script pointing to the _docker-compose.yml_ and specify what file extensions to observe:
```
$ seawatch docker-compose.yml py
```
The example above uses the _docker-compose.yml_ file in the current directory and observes all files with an _.py_ extension.
Also, it is possible to specify multiple file extensions to observe.
__SeaWatch__ will now wait for source code changes and automatically update the services within their Docker Compose environment.