Watchtower - Automatically update Docker containers
Everything you need to deploy Watchtower with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Watchtower up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Watchtower with:
blastdock init watchtower
Interactive mode:
blastdock init watchtower -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Watchtower installation with these configuration options.
Update interval (in seconds)
Remove old images after updating
Email for update notifications
Sender email for notifications
SMTP server for notifications
SMTP server port
SMTP server username
SMTP server password
Complete Docker Compose configuration for Watchtower deployment.
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