{"id":20284071,"url":"https://github.com/ccao-data/service-watchtower","last_synced_at":"2026-06-03T22:31:09.759Z","repository":{"id":178807669,"uuid":"662384984","full_name":"ccao-data/service-watchtower","owner":"ccao-data","description":"Service to monitor the CCAO registry and automatically pull new Docker images","archived":false,"fork":false,"pushed_at":"2023-07-28T18:00:59.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-21T22:37:03.123Z","etag":null,"topics":["config","docker","service"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccao-data.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-05T02:57:47.000Z","updated_at":"2023-07-05T19:45:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4ffb91e-eb86-4017-8f20-96418d312644","html_url":"https://github.com/ccao-data/service-watchtower","commit_stats":null,"previous_names":["ccao-data/service-watchtower"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ccao-data/service-watchtower","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccao-data%2Fservice-watchtower","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccao-data%2Fservice-watchtower/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccao-data%2Fservice-watchtower/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccao-data%2Fservice-watchtower/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccao-data","download_url":"https://codeload.github.com/ccao-data/service-watchtower/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccao-data%2Fservice-watchtower/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33883102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","docker","service"],"created_at":"2024-11-14T14:18:14.890Z","updated_at":"2026-06-03T22:31:09.745Z","avatar_url":"https://github.com/ccao-data.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Watchtower\n\nThis service runs on CCAO's Shiny server/Ubuntu VM and is responsible for keeping CCAO applications and services up-to-date. It utilizes a small application called [Watchtower](https://containrrr.dev/watchtower/) to scan the [CCAO container registry](https://github.com/orgs/ccao-data/packages) at a set interval and automatically pull new Docker images.\n\nThe service will only scan/update images with the Docker label `com.centurylinklabs.watchtower.enable=true`. This label must be added manually when creating CCAO applications and services. Once an image is updated, any new instances will use the updated version. To force a new session/app update, relaunch the application or service using `docker-compose`.\n\n## Usage\n\nTo start this service, first connect to the Shiny server [via SSH](https://support.rackspace.com/how-to/connecting-to-a-server-using-ssh-on-linux-or-mac-os/) (ask IT for login details). Next, go to the folder containing this repository (usually `~/services/service-watchtower`) or clone the repo if it doesn't exist locally. Finally, start the service using [Docker Compose](https://docs.docker.com/compose/gettingstarted/) by typing `docker-compose up -d` while in the same folder as `docker-compose.yml`.\n\nThis service requires Docker login details in order to scan the CCAO's private container registry. These details are passed to the service by placing a file, `config.json`, within a subdirectory of the main repository folder called `secrets`. The directory structure should be:\n\n```\nservice_watchtower\n├── docker-compose.yaml\n└── secrets\n    └── config.json\n```\n\nThe `config.json` file is generated using [`docker login`](https://docs.docker.com/engine/reference/commandline/login/) and saved to `~/.docker/config.json` by default. Be sure to copy the file into `secrets` before launching the service with `docker-compose up -d`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccao-data%2Fservice-watchtower","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccao-data%2Fservice-watchtower","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccao-data%2Fservice-watchtower/lists"}