Watchtower

Watchtower - Automatically update Docker containers

25
Default Port
1
Services
15.5/20
Complexity
Low
Memory Usage
Configuration

Installation Command

blastdock init watchtower

Template Overview

Everything you need to deploy Watchtower with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Watchtower
containrrr/watchtower:latest
Categories
Other
Security Features
Password Protection
Resource Requirements
CPU: Low, Memory: Low

Quick Commands

blastdock init Initialize new project
blastdock deploy Deploy the application
blastdock status Check deployment status
blastdock logs View application logs

Quick Installation

Get Watchtower up and running in minutes with our one-click installation.

BlastDock Installation

First, install BlastDock using pip (recommended):

Terminal
pip install blastdock

Then deploy Watchtower with:

Terminal
blastdock init watchtower

Interactive mode:

Terminal
blastdock init watchtower -i

What's Included

Watchtower
Container service

BlastDock Commands

blastdock templates List available templates
blastdock status project Check deployment status
blastdock logs project View application logs
blastdock stop project Stop deployment

Configuration Options

Customize your Watchtower installation with these configuration options.

2
Required Fields
6
Optional Fields
1
Auto-Generated Passwords

Interval

Update interval (in seconds)

string
Default: 86400
Required: Yes

Cleanup

Remove old images after updating

boolean
Default: 1
Required: Yes

Notification Email

Email for update notifications

string
Default:
Required: No

Notification Email From

Sender email for notifications

string
Default:
Required: No

Notification Email Server

SMTP server for notifications

string
Default:
Required: No

Notification Email Server Port

SMTP server port

port
Default: 25
Required: No

Notification Email Server User

SMTP server username

string
Default:
Required: No

Notification Email Server Password

SMTP server password

password
Default:
Required: No
Security: Auto-generated

Docker Compose

Complete Docker Compose configuration for Watchtower deployment.

1
Services
0
Volumes
1
Networks
1
Exposed Ports
docker-compose.yml
version: '3.8'

services:
  watchtower:
    image: containrrr/watchtower:latest
    container_name: {{ project_name }}_watchtower
    restart: unless-stopped
    environment:
      0: TZ=Europe/London
      1: WATCHTOWER_CLEANUP={{ cleanup }}
      2: WATCHTOWER_POLL_INTERVAL={{ interval }}
      3: WATCHTOWER_NOTIFICATION_EMAIL_TO={{ notification_email }}
      4: WATCHTOWER_NOTIFICATION_EMAIL_FROM={{ notification_email_from }}
      5: WATCHTOWER_NOTIFICATION_EMAIL_SERVER={{ notification_email_server }}
      6: WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT={{ notification_email_server_port }}
      7: WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER={{ notification_email_server_user }}
      8: WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD={{ notification_email_server_password }}
    volumes:
      - /var/run/docker.sock
    networks:
      - watchtower_network

networks:
  watchtower_network:
    driver: bridge